mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +00:00
Relax list entry layouts.
This commit is contained in:
parent
8d8a3021d1
commit
f54c12c728
10 changed files with 33 additions and 37 deletions
|
@ -7,8 +7,7 @@
|
|||
android:background="@drawable/list_entry_background"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight">
|
||||
android:foreground="?android:attr/selectableItemBackground">
|
||||
|
||||
<LinearLayout
|
||||
style="?android:attr/buttonBarStyle"
|
||||
|
@ -29,7 +28,7 @@
|
|||
android:drawablePadding="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:drawableTint="@color/fg_less_significant"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_cram"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax" />
|
||||
|
||||
|
@ -41,7 +40,7 @@
|
|||
android:drawableTint="@color/fg_less_significant"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_cram" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -6,18 +6,17 @@
|
|||
android:background="@drawable/list_entry_background"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight">
|
||||
android:foreground="?android:attr/selectableItemBackground">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/favorites_list_entry_network"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="0px"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
|
|
|
@ -6,16 +6,15 @@
|
|||
android:background="@drawable/list_entry_background"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight">
|
||||
android:foreground="?android:attr/selectableItemBackground">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/network_picker_entry_icon"
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:background="@color/bg_divider"
|
||||
android:focusable="false"
|
||||
android:paddingBottom="1dp"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_cram"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="1dp"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_cram"
|
||||
android:textColor="@color/fg_less_significant"
|
||||
android:textStyle="bold" />
|
||||
|
|
|
@ -6,16 +6,15 @@
|
|||
android:background="@drawable/list_entry_background"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight">
|
||||
android:foreground="?android:attr/selectableItemBackground">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/plans_picker_entry_image"
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
android:clipToPadding="false"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
<!-- first row -->
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
android:background="@color/bg_divider"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="true"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="1dp">
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_cram">
|
||||
|
||||
<de.schildbach.oeffi.stations.LineView
|
||||
android:id="@+id/stations_station_details_header_line_line"
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_lax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_lax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_lax">
|
||||
android:paddingBottom="@dimen/list_entry_padding_vertical_verylax"
|
||||
android:paddingLeft="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingRight="@dimen/list_entry_padding_horizontal_verylax"
|
||||
android:paddingTop="@dimen/list_entry_padding_vertical_verylax">
|
||||
|
||||
<!-- first row -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue