towards to new changes, however, the images are not correct (waiting)
This commit is contained in:
parent
d470d1e128
commit
7c54ef450f
4 changed files with 41 additions and 10 deletions
11
OsmAnd/res/drawable/indicator_custom_gray.xml
Normal file
11
OsmAnd/res/drawable/indicator_custom_gray.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<!-- checked -->
|
||||||
|
<item android:drawable="@drawable/list_activities_dot_marker1_pressed" android:state_expanded="true"/>
|
||||||
|
<!-- unchecked -->
|
||||||
|
<item android:drawable="@drawable/list_activities_dot_marker1_unpressed" android:state_expanded="false"/>
|
||||||
|
<!-- default -->
|
||||||
|
<item android:drawable="@drawable/list_activities_dot_marker1_unpressed"/>
|
||||||
|
|
||||||
|
</selector>
|
|
@ -62,6 +62,7 @@
|
||||||
android:layout_marginRight="3dp"
|
android:layout_marginRight="3dp"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:groupIndicator="@drawable/indicator_custom_gray"
|
||||||
style="@style/OsmandListView">
|
style="@style/OsmandListView">
|
||||||
</ExpandableListView>
|
</ExpandableListView>
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,30 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="wrap_content" android:paddingLeft="40dp" android:paddingTop="3dp">
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingLeft="40dp"
|
||||||
|
android:paddingTop="3dp"
|
||||||
|
android:background="@drawable/tab_menu_item_small" >
|
||||||
|
|
||||||
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
|
<LinearLayout
|
||||||
<CheckBox android:id="@+id/check_item" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:gravity="center_vertical" android:focusable="false" android:visibility="gone"/>
|
android:layout_height="wrap_content" >
|
||||||
|
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/check_item"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:focusable="false"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<TextView android:id="@+id/category_name" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
||||||
android:textSize="24sp"></TextView>
|
<TextView
|
||||||
|
android:id="@+id/category_name"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:textSize="24sp" >
|
||||||
|
</TextView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -3,7 +3,8 @@
|
||||||
android:id="@+id/RelativeLayout1"
|
android:id="@+id/RelativeLayout1"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="horizontal" >
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/tab_title_headline_background" >
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/back_button"
|
android:id="@+id/back_button"
|
||||||
|
|
Loading…
Reference in a new issue