Skip to content

Commit

Permalink
making missing start/end padding explicit (#675)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Carra <rksh@wigle.net>
  • Loading branch information
rksh and Andy Carra authored Jan 21, 2024
1 parent b4133ec commit ccbc8aa
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 5 deletions.
2 changes: 2 additions & 0 deletions wiglewifiwardriving/src/main/res/layout-v29/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingEnd="3dp"
android:paddingStart="0dp"
android:scrollHorizontally="true"
android:ellipsize="end"
android:maxLines="1"
Expand Down Expand Up @@ -74,6 +75,7 @@
tools:text="-69"
android:minWidth="24dp"
android:paddingEnd="0dp"
android:paddingStart="0dp"
android:textSize="12sp" />
<TextView
android:id="@+id/mac_string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:paddingStart="8dp"
android:paddingEnd="0dp"
android:textSize="18sp"
android:textStyle="bold"
android:layout_alignStart="@+id/delete_btn"
Expand Down
3 changes: 2 additions & 1 deletion wiglewifiwardriving/src/main/res/layout/checkbox.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="10dp">
android:paddingStart="10dp"
android:paddingEnd="0dp">
<CheckBox
android:id="@+id/checkbox"
style="?android:attr/textAppearanceMedium"
Expand Down
3 changes: 2 additions & 1 deletion wiglewifiwardriving/src/main/res/layout/dash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:keepScreenOn="true"
android:paddingStart="3dp">
android:paddingStart="3dp"
android:paddingEnd="0dp">
</ScrollView>
7 changes: 5 additions & 2 deletions wiglewifiwardriving/src/main/res/layout/dashlandscape.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="2"
android:baselineAligned="false">
android:baselineAligned="false"
tools:orientation="horizontal">
<LinearLayout
android:orientation="horizontal"
android:layout_weight="1"
android:layout_height="match_parent"
android:layout_width="0dp"
android:paddingEnd="10dp">
android:paddingEnd="10dp"
android:paddingStart="0dp">
<include layout="@layout/dashtop"/>
</LinearLayout>
<LinearLayout
Expand Down
1 change: 1 addition & 0 deletions wiglewifiwardriving/src/main/res/layout/list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
android:layout_weight="4"
android:layout_gravity="start"
android:paddingStart="4dp"
android:paddingEnd="4dp"
tools:text="8,888,888 km"
/>
<TextView
Expand Down
2 changes: 2 additions & 0 deletions wiglewifiwardriving/src/main/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingEnd="3dp"
android:paddingStart="0dp"
android:scrollHorizontally="true"
android:ellipsize="end"
android:maxLines="1"
Expand Down Expand Up @@ -74,6 +75,7 @@
tools:text="-69"
android:minWidth="24dp"
android:paddingEnd="0dp"
android:paddingStart="0dp"
android:textSize="12sp" />
<TextView
android:id="@+id/mac_string"
Expand Down
1 change: 1 addition & 0 deletions wiglewifiwardriving/src/main/res/layout/search_nets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<RadioButton android:id="@+id/radio_search_local"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="0dp"
android:paddingEnd="6dp"
android:text="@string/search_local"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="5"
android:baselineAligned="false">
android:baselineAligned="false"
tools:orientation="horizontal">
<LinearLayout
android:orientation="horizontal"
android:layout_weight="3"
android:layout_height="match_parent"
android:layout_width="0dp"
android:paddingStart="0dp"
android:paddingEnd="10dp">
<include layout="@layout/sitestatstop"/>
</LinearLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:contentDescription="@string/wigle_service"
/>
<TextView
android:id="@+id/toast_title_text"
Expand Down

0 comments on commit ccbc8aa

Please sign in to comment.