Skip to content

Commit

Permalink
ListViews left and right padding to 0dp
Browse files Browse the repository at this point in the history
  • Loading branch information
ghusta committed Jan 10, 2017
1 parent 47640b8 commit efb86b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingLeft="0dp"
android:paddingRight="0dp"
/>

<!--android:childDivider="@android:color/transparent"-->
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_taglist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
android:id="@+id/tags_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingLeft="0dp"
android:paddingRight="0dp"
>
</ListView>

Expand Down
10 changes: 6 additions & 4 deletions app/src/main/res/layout/list_docker_tag_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
android:orientation="horizontal"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin">

<TextView
android:id="@+id/listitem_tag_name"
Expand All @@ -17,11 +19,11 @@
android:id="@+id/listitem_tag_layer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_toEndOf="@+id/listitem_tag_name"
android:textAlignment="textEnd"
android:textStyle="italic"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
/>
/>

</RelativeLayout>

0 comments on commit efb86b5

Please sign in to comment.