Commit 7a64f27a authored by Adrien Dorsaz's avatar Adrien Dorsaz

Adapts code to lint warning.

parent 8e06294e
......@@ -5,12 +5,13 @@
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
......@@ -27,6 +28,7 @@
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
......
......@@ -10,8 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/newsDate"
android:layout_alignParentTop="true"
android:text="TEST TITRE" />
android:layout_alignParentTop="true" />
<ScrollView
android:id="@+id/scrollView1"
......@@ -60,8 +59,7 @@
android:layout_below="@+id/scrollView1"
android:layout_marginTop="22dp"
android:layout_toLeftOf="@+id/newsDate"
android:maxLength="50"
android:text="de la part de moi" />
android:maxLength="50" />
<WebView
android:id="@+id/newsContent"
......@@ -77,7 +75,6 @@
android:layout_height="wrap_content"
android:layout_above="@+id/newsContent"
android:layout_alignParentRight="true"
android:gravity="bottom|right"
android:text="24.12" />
android:gravity="bottom|right" />
</RelativeLayout>
\ No newline at end of file
......@@ -10,9 +10,9 @@
android:id="@+id/articleItemTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp"
android:padding="2sp"
android:textColor="@android:color/primary_text_light"
android:textSize="20dp"
android:textSize="20sp"
android:visibility="visible" />
<TextView
......@@ -23,7 +23,7 @@
android:layout_below="@+id/articleItemTitle"
android:padding="2dp"
android:textColor="@android:color/secondary_text_light"
android:textSize="16dp" />
android:textSize="16sp" />
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
......@@ -37,6 +37,6 @@
android:gravity="bottom|center_vertical|right"
android:padding="2dp"
android:textColor="@android:color/secondary_text_light"
android:textSize="16dp" />
android:textSize="16sp" />
</RelativeLayout>
\ No newline at end of file
......@@ -23,10 +23,9 @@
<string name="showStarred">Show only starred</string>
<!-- Preferences -->
<string name="title_activity_settings">Settings</string>
<string name="pref_server_category">Server configuration</string>
<string name="pref_server_url">Server url</string>
<string name="hint_server_url">http://example.org</string>
<string name="hint_server_url">http(s)://www.example.org/rsslounge</string>
<string name="pref_server_username">User name</string>
<string name="pref_server_password">Password</string>
<string name="pref_behaviour_category">loungeDroid\'s behaviourd</string>
......
<resources>
<!-- <style name="AppTheme" parent="android:Theme.Light" /> -->
<style name="AppTheme" parent="android:Theme.Black" />
</resources>
\ No newline at end of file
......@@ -5,7 +5,7 @@
<EditTextPreference
android:key="url_server_pref"
android:singleLine="true"
android:summary="http(s)://www.example.org/rsslounge"
android:summary="@string/hint_server_url"
android:title="@string/pref_server_url" />
<EditTextPreference
android:key="username_server_pref"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment