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+thres
- Loading branch information
Showing
107 changed files
with
1,803 additions
and
1,135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M12,3C12,2.4477 11.5523,2 11,2H5C4.4477,2 4,2.4477 4,3L4,6C4,6.5523 4.4477,7 5,7L7,7L6,9L10,9L9,7L11,7C11.5523,7 12,6.5523 12,6V3Z" | ||
android:fillColor="#727272"/> | ||
<path | ||
android:pathData="M12,12C6.4771,12 2,16.4772 2,22H22C22,20.0513 21.4426,18.2328 20.4786,16.6952L19.1677,18.443C19.4125,18.9354 19.6081,19.4565 19.748,20H10C10.5523,20 11,19.5523 11,19V17H13C13.2332,17 13.457,16.9601 13.6651,16.8868L12.4,15.2C12.1354,14.8472 12.0001,14.4249 12,14L12,12Z" | ||
android:fillColor="#727272"/> | ||
<path | ||
android:pathData="M20,7H18V14H20L17,18L14,14H16V7H14L17,3L20,7Z" | ||
android:fillColor="#727272"/> | ||
</vector> |
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,37 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M4,7H20V20C20,21.1046 19.1046,22 18,22H6C4.8954,22 4,21.1046 4,20V7Z" | ||
android:strokeAlpha="0.5" | ||
android:fillColor="#5714CC" | ||
android:fillAlpha="0.5"/> | ||
<path | ||
android:pathData="M3,7V10H4V20C4,21.1046 4.8954,22 6,22H18C19.1046,22 20,21.1046 20,20V10H21V7H3ZM6,10H18V20H6V10Z" | ||
android:fillColor="#5714CC" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M6,5C6,3.3431 7.3432,2 9,2C10.5048,2 11.7509,3.108 11.9669,4.5527L12,4.5858L12.0331,4.5527C12.2491,3.108 13.4952,2 15,2C16.6569,2 18,3.3431 18,5C18,6.525 16.8622,7.7842 15.3892,7.975L17.7071,10.2929L16.2929,11.7071L13,8.4142V20H11V8.4142L7.7071,11.7071L6.2929,10.2929L8.6108,7.975C7.1378,7.7842 6,6.525 6,5ZM9,4C9.5523,4 10,4.4477 10,5C10,5.5523 9.5523,6 9,6C8.4477,6 8,5.5523 8,5C8,4.4477 8.4477,4 9,4ZM15,4C15.5523,4 16,4.4477 16,5C16,5.5523 15.5523,6 15,6C14.4477,6 14,5.5523 14,5C14,4.4477 14.4477,4 15,4Z" | ||
android:fillType="evenOdd"> | ||
<aapt:attr name="android:fillColor"> | ||
<gradient | ||
android:startY="2" | ||
android:startX="12" | ||
android:endY="20" | ||
android:endX="12" | ||
android:type="linear"> | ||
<item android:offset="0" android:color="#FFFFC30D"/> | ||
<item android:offset="1" android:color="#FFFF8800"/> | ||
</gradient> | ||
</aapt:attr> | ||
</path> | ||
<path | ||
android:pathData="M9,6C9.5523,6 10,5.5523 10,5C10,4.4477 9.5523,4 9,4C8.4477,4 8,4.4477 8,5C8,5.5523 8.4477,6 9,6Z" | ||
android:fillColor="#CC6D00"/> | ||
<path | ||
android:pathData="M15,6C15.5523,6 16,5.5523 16,5C16,4.4477 15.5523,4 15,4C14.4477,4 14,4.4477 14,5C14,5.5523 14.4477,6 15,6Z" | ||
android:fillColor="#CC6D00"/> | ||
</vector> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?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="match_parent" | ||
android:clickable="true" | ||
android:focusable="true" | ||
android:orientation="vertical"> | ||
|
||
<com.google.android.material.appbar.AppBarLayout | ||
android:id="@+id/appbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="?attr/list_background_color"> | ||
|
||
<androidx.appcompat.widget.Toolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/toolbar_height" /> | ||
|
||
</com.google.android.material.appbar.AppBarLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/container" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ScrollView | ||
android:id="@+id/scroll_view" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:overScrollMode="never" | ||
android:scrollbars="none"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="?attr/list_background_color" | ||
android:orientation="vertical"> | ||
|
||
<androidx.appcompat.widget.AppCompatImageView | ||
android:layout_width="@dimen/setting_list_item_large_height" | ||
android:layout_height="@dimen/setting_list_item_large_height" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginBottom="@dimen/horizontal_divider_height" | ||
android:src="@drawable/ic_action_gift_colored" /> | ||
|
||
<net.osmand.plus.widgets.TextViewEx | ||
android:id="@+id/title" | ||
style="@style/TitleStyle.Medium" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/content_padding" | ||
android:gravity="center" | ||
android:textColor="?android:textColorPrimary" | ||
android:textSize="@dimen/default_title_line_height" | ||
tools:text="@string/tripltek_promo" /> | ||
|
||
<net.osmand.plus.widgets.TextViewEx | ||
android:id="@+id/description" | ||
style="@style/TitleStyle" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="@dimen/content_padding" | ||
android:layout_marginBottom="@dimen/content_padding" | ||
android:gravity="center" | ||
android:textColor="?android:textColorPrimary" | ||
tools:text="@string/tripltek_promo_description" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/items_container" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:paddingBottom="@dimen/content_padding_extra_large" | ||
tools:listitem="@layout/purchase_dialog_list_item" /> | ||
|
||
</LinearLayout> | ||
|
||
</ScrollView> | ||
|
||
<include layout="@layout/control_bottom_buttons" /> | ||
|
||
</FrameLayout> | ||
|
||
</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
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.