Browse Source

Changelog dialog UI refinement, Minor changes

changelog
Apostolos Fanakis 6 years ago
parent
commit
330c839041
  1. 8
      app/src/main/assets/changelog.json
  2. 24
      app/src/main/res/layout/dialog_changelog.xml

8
app/src/main/assets/changelog.json

@ -35,7 +35,7 @@
{ {
"change": "feature", "change": "feature",
"title": "Tweak it.", "title": "Tweak it.",
"description": "Settings are now available, in case you want to change your notifications sound." "description": "Settings are now available, in case you want to change your notification sound."
}, },
{ {
"change": "feature", "change": "feature",
@ -49,7 +49,7 @@
},{ },{
"change": "bug", "change": "bug",
"title": "Many bugs.", "title": "Many bugs.",
"description": "We fixed a ton of other bugs to the app is now like 36.2% more bug free." "description": "We fixed a ton of other bugs, so the app is now like 36.2% more bug free."
}, },
{ {
"change": "improvement", "change": "improvement",
@ -73,8 +73,8 @@
}, },
{ {
"change": "improvement", "change": "improvement",
"title": "No wifi, no topic.", "title": "No WI-FI, no topic.",
"description": "Added a message in topics that warns when no connection is available." "description": "Added a message on topics that warns when no connection is available."
}, },
{ {
"change": "improvement", "change": "improvement",

24
app/src/main/res/layout/dialog_changelog.xml

@ -5,14 +5,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/background" android:background="@color/background"
android:orientation="vertical" android:orientation="vertical"
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:paddingTop="8dp"> android:paddingTop="8dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal"
android:paddingEnd="12dp"
android:paddingStart="12dp">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -36,8 +36,10 @@
<android.support.v7.widget.AppCompatTextView <android.support.v7.widget.AppCompatTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:layout_marginBottom="3dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:paddingEnd="12dp"
android:paddingStart="12dp"
android:singleLine="true" android:singleLine="true"
android:text="@string/changelog_subtitle" android:text="@string/changelog_subtitle"
android:textColor="@color/accent" android:textColor="@color/accent"
@ -46,14 +48,18 @@
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_marginBottom="6dp" android:layout_marginBottom="1dp"
android:layout_marginEnd="12dp"
android:layout_marginStart="12dp"
android:background="@color/accent" /> android:background="@color/accent" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="12dp" android:layout_marginBottom="8dp"
android:orientation="horizontal"> android:orientation="horizontal"
android:paddingEnd="12dp"
android:paddingStart="12dp">
<TextView <TextView
android:id="@+id/version" android:id="@+id/version"
@ -80,6 +86,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/background" android:background="@color/background"
android:orientation="vertical" /> android:orientation="vertical"
android:paddingEnd="12dp"
android:paddingStart="12dp" />
</ScrollView> </ScrollView>
</LinearLayout> </LinearLayout>
Loading…
Cancel
Save