forked from github/wulkanowy-mirror
Fix about header layout to support long app names (for DEV builds) (#1602)
Co-authored-by: Mikołaj Pich <m.pich@outlook.com>
This commit is contained in:
parent
1d910f8d66
commit
26c749c219
@ -74,7 +74,7 @@ android {
|
|||||||
buildConfigField "String", "MESSAGES_BASE_URL", "\"https://messages.wulkanowy.net.pl\""
|
buildConfigField "String", "MESSAGES_BASE_URL", "\"https://messages.wulkanowy.net.pl\""
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
resValue "string", "app_name", "Wulkanowy DEV " + defaultConfig.versionCode
|
resValue "string", "app_name", "Wulkanowy DEV"
|
||||||
applicationIdSuffix ".dev"
|
applicationIdSuffix ".dev"
|
||||||
versionNameSuffix "-dev"
|
versionNameSuffix "-dev"
|
||||||
ext.enableCrashlytics = project.hasProperty("enableFirebase")
|
ext.enableCrashlytics = project.hasProperty("enableFirebase")
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:minHeight="104dp"
|
android:minHeight="104dp"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
android:paddingHorizontal="20dp"
|
||||||
tools:context=".ui.modules.about.AboutAdapter">
|
tools:context=".ui.modules.about.AboutAdapter">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -23,12 +24,13 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/aboutScrollableHeaderName"
|
android:id="@+id/aboutScrollableHeaderName"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textSize="24sp"
|
android:textSize="24sp"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/aboutScrollableHeaderIcon"
|
app:layout_constraintBottom_toBottomOf="@id/aboutScrollableHeaderIcon"
|
||||||
app:layout_constraintLeft_toRightOf="@id/aboutScrollableHeaderIcon"
|
app:layout_constraintLeft_toRightOf="@id/aboutScrollableHeaderIcon"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@id/aboutScrollableHeaderIcon" />
|
app:layout_constraintTop_toTopOf="@id/aboutScrollableHeaderIcon"
|
||||||
|
app:layout_constraintWidth_max="wrap" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user