forked from osmandapp/OsmAnd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'osmandapp:master' into hardy_Afa
- Loading branch information
Showing
35 changed files
with
596 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
OsmAnd/res/layout/bottom_sheet_item_with_descr_and_checkbox_and_divider_56dp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?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:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="?attr/selectableItemBackground" | ||
android:gravity="center_vertical" | ||
android:orientation="horizontal"> | ||
|
||
<androidx.appcompat.widget.AppCompatImageView | ||
android:id="@+id/icon" | ||
android:layout_width="@dimen/standard_icon_size" | ||
android:layout_height="@dimen/standard_icon_size" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginStart="@dimen/content_padding" | ||
android:layout_marginEnd="@dimen/bottom_sheet_icon_margin" | ||
tools:src="@drawable/list_destination" /> | ||
|
||
<LinearLayout | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:orientation="vertical"> | ||
|
||
<include layout="@layout/bottom_sheet_item_with_descr_and_checkbox_content_56dp" /> | ||
|
||
<include | ||
android:id="@+id/divider_bottom" | ||
layout="@layout/simple_divider_item" /> | ||
|
||
</LinearLayout> | ||
|
||
</LinearLayout> |
50 changes: 50 additions & 0 deletions
50
OsmAnd/res/layout/bottom_sheet_item_with_descr_and_checkbox_content_56dp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:paddingStart="0dp" | ||
android:paddingEnd="@dimen/content_padding" | ||
android:paddingTop="@dimen/context_menu_padding_margin_medium" | ||
android:paddingBottom="@dimen/context_menu_padding_margin_medium"> | ||
|
||
<LinearLayout | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:layout_weight="1" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:id="@+id/title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:ellipsize="end" | ||
android:maxLines="2" | ||
android:textAppearance="@style/TextAppearance.ListItemTitle" | ||
tools:text="Some title" /> | ||
|
||
<TextView | ||
android:id="@+id/description" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:ellipsize="end" | ||
android:maxLines="2" | ||
android:textAppearance="@style/TextAppearance.ContextMenuSubtitle" | ||
android:textColor="@null" | ||
tools:text="Some description" /> | ||
|
||
</LinearLayout> | ||
|
||
<androidx.appcompat.widget.AppCompatCheckBox | ||
android:id="@+id/compound_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginStart="@dimen/bottom_sheet_content_margin" | ||
android:background="@null" | ||
android:clickable="false" | ||
android:focusable="false" | ||
android:focusableInTouchMode="false" /> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.