Browse Source

Changed padding on toolbar for consistency, updated build tools

master
Anthony Restaino 9 years ago
parent
commit
a0ade8acc9
  1. 1
      .travis.yml
  2. 2
      app/build.gradle
  3. 4
      app/src/main/res/layout/search.xml
  4. 6
      app/src/main/res/layout/toolbar.xml
  5. 1
      app/src/main/res/layout/toolbar_content.xml

1
.travis.yml

@ -3,6 +3,7 @@ sudo: false @@ -3,6 +3,7 @@ sudo: false
android:
components:
- build-tools-22.0.1
- build-tools-23.0.0
- android-23
- android-22
- extra-android-support

2
app/build.gradle

@ -2,7 +2,7 @@ apply plugin: 'com.android.application' @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
buildToolsVersion "23.0.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 22

4
app/src/main/res/layout/search.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
android:layout_marginBottom="6dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:layout_marginTop="8dp"
android:layout_marginTop="6dp"
android:layout_weight="1"
android:background="?attr/searchBackground"
android:clipChildren="false"
@ -33,6 +33,6 @@ @@ -33,6 +33,6 @@
android:singleLine="true"
android:textColor="@color/gray_dark"
android:textColorHint="@color/hint_text"
android:textCursorDrawable="@null"></AutoCompleteTextView>
android:textCursorDrawable="@null"/>
</LinearLayout>

6
app/src/main/res/layout/toolbar.xml

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@color/black"
android:overScrollMode="never"
android:listSelector="?attr/listBackground"
android:overScrollMode="never"
android:scrollbars="none" />
<!--
TODO fucking fix the list selector aka remove it
@ -25,6 +25,10 @@ @@ -25,6 +25,10 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="2dp"
android:paddingBottom="0dp"
custom:contentInsetEnd="0dp"
custom:contentInsetStart="0dp" />

1
app/src/main/res/layout/toolbar_content.xml

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
android:id="@+id/arrow_button"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_marginTop="2dp"
android:background="?attr/actionBarItemBackground"
android:clickable="true"
android:gravity="center" >

Loading…
Cancel
Save