add_sorting_redo_c1
new file: app/src/main/res/drawable-hdpi/ic_az_white.png modified: app/src/main/res/drawable-hdpi/ic_last_updated_black.png new file: app/src/main/res/drawable-hdpi/ic_last_updated_white.png new file: app/src/main/res/drawable-mdpi/ic_az_white.png modified: app/src/main/res/drawable-mdpi/ic_last_updated_black.png new file: app/src/main/res/drawable-mdpi/ic_last_updated_white.png new file: app/src/main/res/drawable-xhdpi/ic_az_white.png modified: app/src/main/res/drawable-xhdpi/ic_last_updated_black.png new file: app/src/main/res/drawable-xhdpi/ic_last_updated_white.png new file: app/src/main/res/drawable-xxhdpi/ic_az_white.png modified: app/src/main/res/drawable-xxhdpi/ic_last_updated_black.png new file: app/src/main/res/drawable-xxhdpi/ic_last_updated_white.png new file: app/src/main/res/drawable-xxxhdpi/ic_az_white.png modified: app/src/main/res/drawable-xxxhdpi/ic_last_updated_black.png new file: app/src/main/res/drawable-xxxhdpi/ic_last_updated_white.png modified: app/src/main/res/layout/activity_app_list.xml
BIN
app/src/main/res/drawable-hdpi/ic_az_white.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
app/src/main/res/drawable-hdpi/ic_last_updated_white.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_az_white.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_last_updated_white.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_az_white.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_last_updated_white.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_az_white.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_last_updated_white.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_az_white.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 9.7 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_last_updated_white.png
Normal file
After Width: | Height: | Size: 10 KiB |
@ -10,18 +10,23 @@
|
|||||||
android:id="@+id/search_card"
|
android:id="@+id/search_card"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="12dp"
|
android:layout_marginStart="16dp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_marginEnd="0dp"
|
||||||
|
android:layout_marginRight="0dp"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:layout_marginBottom="16dp"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/sort"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
<android.support.constraint.ConstraintLayout
|
<android.support.constraint.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="8dp"
|
|
||||||
android:paddingLeft="8dp"
|
|
||||||
android:paddingEnd="8dp"
|
android:paddingEnd="8dp"
|
||||||
android:paddingRight="8dp">
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp"
|
||||||
|
android:paddingStart="8dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/back"
|
android:id="@+id/back"
|
||||||
@ -30,25 +35,24 @@
|
|||||||
android:contentDescription="@string/back"
|
android:contentDescription="@string/back"
|
||||||
android:src="@drawable/ic_back_black_24dp"
|
android:src="@drawable/ic_back_black_24dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/search"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
|
android:id="@+id/search"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
android:background="@android:color/transparent"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:hint="@string/search_hint"
|
||||||
app:layout_constraintStart_toEndOf="@+id/back"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/clear"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:id="@+id/search"
|
|
||||||
android:imeOptions="actionSearch"
|
android:imeOptions="actionSearch"
|
||||||
android:inputType="text"
|
android:inputType="text"
|
||||||
android:hint="@string/search_hint"
|
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:background="@android:color/transparent"
|
android:padding="12dp"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/clear"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/back"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/clear"
|
android:id="@+id/clear"
|
||||||
@ -56,30 +60,27 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:contentDescription="@string/clear_search"
|
android:contentDescription="@string/clear_search"
|
||||||
android:src="@drawable/ic_close_black_24dp"
|
android:src="@drawable/ic_close_black_24dp"
|
||||||
android:paddingStart="8dp"
|
|
||||||
android:paddingLeft="8dp"
|
|
||||||
android:paddingEnd="8dp"
|
|
||||||
android:paddingRight="8dp"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/sort"
|
|
||||||
app:layout_constraintStart_toEndOf="@id/search"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/sort"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:contentDescription="@string/sort_search"
|
|
||||||
android:src="@drawable/ic_last_updated_black"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/clear"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
||||||
</android.support.constraint.ConstraintLayout>
|
</android.support.constraint.ConstraintLayout>
|
||||||
|
|
||||||
</android.support.v7.widget.CardView>
|
</android.support.v7.widget.CardView>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/sort"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="4dp"
|
||||||
|
android:layout_marginRight="4dp"
|
||||||
|
android:contentDescription="@string/sort_search"
|
||||||
|
android:src="@drawable/ic_last_updated_black"
|
||||||
|
app:layout_constraintTop_toTopOf="@id/search_card"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@id/search_card"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/search_card"/>
|
||||||
|
|
||||||
<!-- Don't center, only show it at the top because a keyboard will usually be shown at the bottom of the screen,
|
<!-- Don't center, only show it at the top because a keyboard will usually be shown at the bottom of the screen,
|
||||||
covering most of this layout. -->
|
covering most of this layout. -->
|
||||||
<TextView
|
<TextView
|
||||||
|