mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-13 20:48:56 +01:00
Show changelog when new version is installed
This commit is contained in:
26
app/src/main/res/layout/changelog_header_layout.xml
Normal file
26
app/src/main/res/layout/changelog_header_layout.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/chg_rowheader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/chglib_material_minHeight"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="@dimen/chglib_material_keyline1"
|
||||
android:paddingRight="@dimen/chglib_material_keyline1">
|
||||
|
||||
|
||||
<!-- ChangeLog Header [Version] You have to use the id="chg_headerVersion" -->
|
||||
<TextView
|
||||
android:id="@+id/chg_headerVersion"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="@dimen/chglib_material_keyline1"
|
||||
android:paddingTop="@dimen/chglib_material_keyline1"
|
||||
android:textAppearance="@style/TextAppearance.Medium.Body2"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="?attr/colorAccent"
|
||||
/>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user