Fixed various lint issues
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:drawable/title_bar"
|
||||
android:orientation="horizontal" >
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="ContentDescription" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/close"
|
||||
@@ -18,7 +20,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="test"
|
||||
android:textColor="#FFFFFF" />
|
||||
|
||||
<ImageView
|
||||
@@ -27,6 +28,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:contentDescription="@string/delete"
|
||||
android:src="@android:drawable/stat_sys_data_bluetooth" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,32 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/msg_scrollview"
|
||||
android:layout_marginLeft="15dip"
|
||||
android:layout_marginRight="15dip"
|
||||
>
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello"
|
||||
/>
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@android:string/ok"
|
||||
android:id="@+id/ok_button"
|
||||
android:layout_below="@id/msg"/>
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="UselessParent" >
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/msg_scrollview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dip"
|
||||
android:layout_marginRight="15dip" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/msg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/ok_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/msg"
|
||||
android:text="@android:string/ok" />
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -24,6 +24,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:contentDescription="@string/add_feature"
|
||||
android:src="@android:drawable/ic_menu_add" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,14 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<ImageButton
|
||||
android:id="@+id/widget_get_location_button"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/icon"
|
||||
android:layout_marginBottom="15dip"/>
|
||||
</LinearLayout>
|
||||
android:orientation="vertical" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/widget_get_location_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="15dip"
|
||||
android:background="@drawable/icon"
|
||||
android:contentDescription="@string/start_location_service" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -25,7 +25,6 @@
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip"
|
||||
android:text="test"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<TextView
|
||||
@@ -35,8 +34,7 @@
|
||||
android:layout_alignLeft="@id/android:id/text1"
|
||||
android:layout_below="@id/android:id/text1"
|
||||
android:paddingLeft="6dip"
|
||||
android:paddingRight="6dip"
|
||||
android:text="test" />
|
||||
android:paddingRight="6dip" />
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -24,8 +24,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
class="com.TwentyCodes.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText"
|
||||
android:capitalize="words"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true" />
|
||||
|
||||
<TextView
|
||||
@@ -41,7 +41,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
class="com.TwentyCodes.android.LocationRinger.ui.fragments.AboutRingerFragment$ListeningEditText"
|
||||
android:capitalize="sentences"
|
||||
android:inputType="textMultiLine" />
|
||||
android:inputType="textCapSentences" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -31,6 +31,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="@string/mark_my_location"
|
||||
android:src="@android:drawable/ic_menu_myplaces" />
|
||||
|
||||
<ImageButton
|
||||
@@ -39,6 +40,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="@string/my_location"
|
||||
android:src="@android:drawable/ic_menu_mylocation" />
|
||||
|
||||
<ImageButton
|
||||
@@ -47,6 +49,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="@string/map_mode"
|
||||
android:src="@android:drawable/ic_menu_mapmode" />
|
||||
|
||||
<ImageButton
|
||||
@@ -55,6 +58,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:contentDescription="@string/search"
|
||||
android:src="@android:drawable/ic_menu_search" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -10,6 +10,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:contentDescription="@string/new_ringer"
|
||||
android:src="@android:drawable/ic_menu_add" />
|
||||
|
||||
<ListView
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:cursorVisible="false"
|
||||
android:editable="false"
|
||||
android:focusable="false" />
|
||||
android:focusable="false"
|
||||
android:inputType="none" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:icon="@android:drawable/ic_menu_preferences"
|
||||
android:showAsAction="always"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/settings"/>
|
||||
<item
|
||||
android:id="@+id/backup"
|
||||
|
||||
@@ -89,5 +89,8 @@
|
||||
<string name="ringer_name">Ringer Name</string>
|
||||
<string name="start_location_service">Start Location Service</string>
|
||||
<string name="select_tone">Select Tone</string>
|
||||
<string name="mark_my_location">Mark my location</string>
|
||||
<string name="my_location">My location</string>
|
||||
<string name="map_mode">Map Mode</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user