Browse Source

FAB added to splash

master
Preyea Regmi 5 years ago
parent
commit
c503969816
  1. BIN
      app/src/main/res/drawable-xxhdpi/ic_chat_bubble.png
  2. 21
      app/src/main/res/layout/activity_splash_screen_key_0.xml
  3. 2
      app/src/main/res/layout/activity_splash_screen_key_1.xml
  4. 1
      app/src/main/res/layout/activity_splash_screen_key_2.xml
  5. 4
      app/src/main/res/values/dimens.xml

BIN
app/src/main/res/drawable-xxhdpi/ic_chat_bubble.png

After

Width: 84  |  Height: 79  |  Size: 2.9 KiB

21
app/src/main/res/layout/activity_splash_screen_key_0.xml

@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/_2sdp"
android:fillViewport="true">
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
@ -40,7 +41,8 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.43" />
<ImageView
android:id="@+id/selectedLanguageIcon"
@ -419,6 +421,23 @@
app:layout_constraintTop_toBottomOf="@+id/btn_new_user"
tools:text=" 2.2.3 " />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab_chat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:src="@drawable/ic_chat_bubble"
app:backgroundTint="@android:color/white"
app:elevation="2dp"
app:layout_constraintEnd_toEndOf="@+id/btn_new_user"
app:layout_constraintHorizontal_bias="0.9"
app:layout_constraintStart_toStartOf="@+id/btn_new_user"
app:layout_constraintTop_toBottomOf="@+id/btn_new_user" />
</android.support.constraint.ConstraintLayout>
</ScrollView>

2
app/src/main/res/layout/activity_splash_screen_key_1.xml

@ -424,5 +424,7 @@
app:layout_constraintTop_toBottomOf="@+id/btn_new_user"
tools:text=" 2.2.3 " />
</android.support.constraint.ConstraintLayout>

1
app/src/main/res/layout/activity_splash_screen_key_2.xml

@ -144,4 +144,5 @@
tools:text=" 2.2.3 " />
</android.support.constraint.ConstraintLayout>

4
app/src/main/res/values/dimens.xml

@ -1,4 +1,4 @@
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="topbar_imagesize">45dp</dimen>
@ -8,4 +8,6 @@
<dimen name="kycimagedocumentmargin">7dp</dimen>
<dimen name="splash_bottom_margin">32dp</dimen>
</resources>
Loading…
Cancel
Save