Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
8c74508e
Commit
8c74508e
authored
Sep 11, 2018
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates the sign in to your server view
parent
84523a02
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
86 additions
and
85 deletions
+86
-85
OnBoardingFragment.kt
...ndroid/authentication/onboarding/ui/OnBoardingFragment.kt
+3
-3
ServerFragment.kt
...rocket/android/authentication/server/ui/ServerFragment.kt
+4
-4
fragment_authentication_log_in.xml
app/src/main/res/layout/fragment_authentication_log_in.xml
+2
-2
fragment_authentication_on_boarding.xml
...c/main/res/layout/fragment_authentication_on_boarding.xml
+10
-11
fragment_authentication_register_username.xml
.../res/layout/fragment_authentication_register_username.xml
+2
-2
fragment_authentication_reset_password.xml
...ain/res/layout/fragment_authentication_reset_password.xml
+2
-2
fragment_authentication_server.xml
app/src/main/res/layout/fragment_authentication_server.xml
+35
-44
fragment_authentication_sign_up.xml
app/src/main/res/layout/fragment_authentication_sign_up.xml
+2
-2
fragment_authentication_two_fa.xml
app/src/main/res/layout/fragment_authentication_two_fa.xml
+4
-4
colors.xml
app/src/main/res/values/colors.xml
+1
-1
defaults.xml
app/src/main/res/values/defaults.xml
+1
-1
styles.xml
app/src/main/res/values/styles.xml
+20
-9
No files found.
app/src/main/java/chat/rocket/android/authentication/onboarding/ui/OnBoardingFragment.kt
View file @
8c74508e
...
...
@@ -48,11 +48,11 @@ class OnBoardingFragment : Fragment(), OnBoardingView {
}
private
fun
setupOnClickListener
()
{
con
tainer_connect_with_a_serv
er
.
setOnClickListener
{
connectWithAServer
()
}
con
nect_with_a_server_contain
er
.
setOnClickListener
{
connectWithAServer
()
}
container_join_community
.
setOnClickListener
{
joinInTheCommunity
()
}
join_community_container
.
setOnClickListener
{
joinInTheCommunity
()
}
c
ontainer_create_serv
er
.
setOnClickListener
{
createANewServer
()
}
c
reate_server_contain
er
.
setOnClickListener
{
createANewServer
()
}
}
override
fun
showLoading
()
{
...
...
app/src/main/java/chat/rocket/android/authentication/server/ui/ServerFragment.kt
View file @
8c74508e
...
...
@@ -65,9 +65,9 @@ class ServerFragment : Fragment(), ServerView {
presenter
.
deepLink
(
it
)
}
text
_server_protocol
.
adapter
=
ArrayAdapter
<
String
>(
activity
,
spinner
_server_protocol
.
adapter
=
ArrayAdapter
<
String
>(
activity
,
android
.
R
.
layout
.
simple_dropdown_item_1line
,
arrayOf
(
"https://"
,
"http://"
))
text
_server_protocol
.
onItemSelectedListener
=
object
:
AdapterView
.
OnItemSelectedListener
{
spinner
_server_protocol
.
onItemSelectedListener
=
object
:
AdapterView
.
OnItemSelectedListener
{
override
fun
onItemSelected
(
parent
:
AdapterView
<
*
>?,
view
:
View
?,
position
:
Int
,
id
:
Long
)
{
when
(
position
)
{
0
->
{
...
...
@@ -85,7 +85,7 @@ class ServerFragment : Fragment(), ServerView {
protocol
=
"http://"
}
.
setNegativeButton
(
R
.
string
.
msg_cancel
)
{
_
,
_
->
text
_server_protocol
.
setSelection
(
0
)
spinner
_server_protocol
.
setSelection
(
0
)
}
.
setCancelable
(
false
)
.
create
()
...
...
@@ -197,7 +197,7 @@ class ServerFragment : Fragment(), ServerView {
override
fun
updateServerUrl
(
url
:
HttpUrl
)
{
if
(
activity
!=
null
&&
view
!=
null
)
{
if
(
url
.
scheme
()
==
"https"
)
text_server_protocol
.
setSelection
(
0
)
else
text
_server_protocol
.
setSelection
(
1
)
if
(
url
.
scheme
()
==
"https"
)
spinner_server_protocol
.
setSelection
(
0
)
else
spinner
_server_protocol
.
setSelection
(
1
)
protocol
=
"${url.scheme()}://"
val
serverUrl
=
url
.
toString
().
removePrefix
(
"${url.scheme()}://"
)
...
...
app/src/main/res/layout/fragment_authentication_log_in.xml
View file @
8c74508e
...
...
@@ -8,7 +8,7 @@
tools:context=
".authentication.login.ui.LoginFragment"
>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
android:text=
"@string/title_log_in"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -26,7 +26,7 @@
android:inputType=
"textEmailAddress|text"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/text_
headline
"
/>
app:layout_constraintTop_toBottomOf=
"@+id/text_
sign_in_to_your_server
"
/>
<ImageView
android:id=
"@+id/image_key"
...
...
app/src/main/res/layout/fragment_authentication_on_boarding.xml
View file @
8c74508e
...
...
@@ -36,7 +36,7 @@
app:layout_constraintTop_toBottomOf=
"@+id/text_on_boarding_title"
/>
<RelativeLayout
android:id=
"@+id/con
tainer_connect_with_a_serv
er"
android:id=
"@+id/con
nect_with_a_server_contain
er"
android:layout_width=
"0dp"
android:layout_height=
"60dp"
android:layout_marginTop=
"32dp"
...
...
@@ -58,7 +58,7 @@
tools:ignore=
"ContentDescription"
/>
<TextView
style=
"@style/Authentication.
OnBoarding.
Button.Title"
style=
"@style/Authentication.Button.Title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
...
...
@@ -79,7 +79,7 @@
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/
container_join_community
"
android:id=
"@+id/
join_community_container
"
android:layout_width=
"0dp"
android:layout_height=
"60dp"
android:layout_marginTop=
"10dp"
...
...
@@ -87,7 +87,7 @@
android:foreground=
"?selectableItemBackground"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/con
tainer_connect_with_a_serv
er"
>
app:layout_constraintTop_toBottomOf=
"@+id/con
nect_with_a_server_contain
er"
>
<ImageView
android:id=
"@+id/image_join_community"
...
...
@@ -101,7 +101,7 @@
<TextView
android:id=
"@+id/text_join_community"
style=
"@style/Authentication.
OnBoarding.
Button.Title"
style=
"@style/Authentication.Button.Title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
...
...
@@ -110,7 +110,7 @@
android:text=
"@string/action_join_community"
/>
<TextView
style=
"@style/Authentication.
OnBoarding.
Button.Description"
style=
"@style/Authentication.Button.Description"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/text_join_community"
...
...
@@ -131,7 +131,7 @@
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/c
ontainer_create_serv
er"
android:id=
"@+id/c
reate_server_contain
er"
android:layout_width=
"0dp"
android:layout_height=
"60dp"
android:layout_marginTop=
"10dp"
...
...
@@ -139,7 +139,7 @@
android:foreground=
"?selectableItemBackground"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/
container_join_community
"
>
app:layout_constraintTop_toBottomOf=
"@+id/
join_community_container
"
>
<ImageView
android:id=
"@+id/image_add"
...
...
@@ -153,7 +153,7 @@
tools:ignore=
"ContentDescription"
/>
<TextView
style=
"@style/Authentication.
OnBoarding.
Button.Title.White"
style=
"@style/Authentication.Button.Title.White"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
...
...
@@ -168,6 +168,5 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:visibility=
"gone"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
app/src/main/res/layout/fragment_authentication_register_username.xml
View file @
8c74508e
...
...
@@ -7,7 +7,7 @@
tools:context=
".authentication.registerusername.ui.RegisterUsernameFragment"
>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
android:text=
"@string/title_register_username"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -20,7 +20,7 @@
style=
"@style/Authentication.EditText"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/text_
headline
"
app:layout_constraintTop_toBottomOf=
"@id/text_
sign_in_to_your_server
"
android:layout_marginTop=
"16dp"
android:drawableStart=
"@drawable/ic_at_black_20dp"
android:hint=
"@string/msg_username"
...
...
app/src/main/res/layout/fragment_authentication_reset_password.xml
View file @
8c74508e
...
...
@@ -7,7 +7,7 @@
tools:context=
".authentication.resetpassword.ui.ResetPasswordFragment"
>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
android:text=
"@string/title_reset_password"
app:layout_constraintTop_toTopOf=
"parent"
...
...
@@ -20,7 +20,7 @@
style=
"@style/Authentication.EditText"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/text_
headline
"
app:layout_constraintTop_toBottomOf=
"@id/text_
sign_in_to_your_server
"
android:layout_marginTop=
"30dp"
android:drawableStart=
"@drawable/ic_email_black_20dp"
android:hint=
"@string/msg_email"
...
...
app/src/main/res/layout/fragment_authentication_server.xml
View file @
8c74508e
...
...
@@ -5,93 +5,84 @@
android:id=
"@+id/constraint_layout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:focusableInTouchMode=
"true"
android:background=
"@color/colorWhite"
android:focusableInTouchMode=
"true"
android:padding=
"@dimen/screen_edge_left_and_right_margins"
tools:context=
".authentication.server.ui.ServerFragment"
>
<ImageView
android:id=
"@+id/image_server"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:src=
"@drawable/ic_server"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:layout_marginTop=
"40dp
"
/>
tools:ignore=
"ContentDescription
"
/>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/image_server"
android:layout_marginTop=
"8dp"
android:text=
"@string/title_sign_in_your_server"
/>
android:text=
"@string/title_sign_in_your_server"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/image_server"
/>
<RelativeLayout
android:id=
"@+id/
view_serv
er"
android:id=
"@+id/
server_url_contain
er"
android:layout_width=
"0dp"
android:layout_height=
"48dp"
android:layout_marginTop=
"24dp"
android:background=
"@drawable/rounded_border"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/text_headline"
android:layout_marginTop=
"24dp"
android:layout_marginStart=
"16dp"
android:layout_marginEnd=
"16dp"
>
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/text_sign_in_to_your_server"
>
<FrameLayout
android:id=
"@+id/protocol_container"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<Spinner
android:id=
"@+id/text_server_protocol"
android:spinnerMode=
"dropdown"
android:layout_width=
"120dp"
android:id=
"@+id/spinner_server_protocol"
android:layout_width=
"100dp"
android:layout_height=
"match_parent"
android:layout_margin=
"1dp"
android:backgroundTint=
"@color/actionMenuColor"
/>
android:popupBackground=
"@color/colorWhite"
/>
</FrameLayout>
<EditText
android:id=
"@+id/text_server_url"
style=
"@style/Authentication.Text.Hint"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:layout_marginStart=
"6dp"
android:layout_marginEnd=
"16dp"
android:layout_toEndOf=
"@+id/protocol_container"
android:background=
"@color/colorWhite"
android:cursorVisible=
"false"
android:hint=
"@string/
default_server
"
android:hint=
"@string/
server_hint_url
"
android:imeOptions=
"actionDone"
android:inputType=
"text|textUri"
android:layout_marginStart=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_centerVertical=
"true"
android:textSize=
"17sp"
android:textColorHint=
"#9ea2a8"
android:textColor=
"#9ea2a8"
android:layout_toEndOf=
"@id/protocol_container"
android:background=
"@color/colorWhite"
/>
android:inputType=
"text|textUri"
/>
</RelativeLayout>
<Button
android:id=
"@+id/button_connect"
style=
"@style/Authentication.Button"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/view_server"
android:text=
"@string/action_connect"
android:layout_marginTop=
"20dp"
android:layout_marginStart=
"16dp"
android:layout_marginEnd=
"16dp"
/>
android:text=
"@string/action_connect"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/server_url_container"
/>
<com.wang.avi.AVLoadingIndicatorView
android:id=
"@+id/view_loading"
style=
"@style/Authentication.AVLoadingIndicatorView"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
app/src/main/res/layout/fragment_authentication_sign_up.xml
View file @
8c74508e
...
...
@@ -9,7 +9,7 @@
tools:context=
".authentication.signup.ui.SignupFragment"
>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
android:text=
"@string/title_sign_up"
app:layout_constraintTop_toTopOf=
"parent"
...
...
@@ -22,7 +22,7 @@
style=
"@style/Authentication.EditText"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/text_
headline
"
app:layout_constraintTop_toBottomOf=
"@id/text_
sign_in_to_your_server
"
android:layout_marginTop=
"16dp"
android:drawableStart=
"@drawable/ic_person_black_20dp"
android:hint=
"@string/msg_name"
...
...
app/src/main/res/layout/fragment_authentication_two_fa.xml
View file @
8c74508e
...
...
@@ -7,7 +7,7 @@
tools:context=
".authentication.twofactor.ui.TwoFAFragment"
>
<TextView
android:id=
"@+id/text_
headline
"
android:id=
"@+id/text_
sign_in_to_your_server
"
style=
"@style/Authentication.Headline.TextView"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
...
...
@@ -19,14 +19,14 @@
android:id=
"@+id/text_description"
style=
"@style/Authentication.Description.TextView"
android:text=
"What’s your 2FA code?"
app:layout_constraintTop_toBottomOf=
"@id/text_
headline
"
app:layout_constraintStart_toStartOf=
"@id/text_
headline
"
app:layout_constraintTop_toBottomOf=
"@id/text_
sign_in_to_your_server
"
app:layout_constraintStart_toStartOf=
"@id/text_
sign_in_to_your_server
"
android:layout_marginTop=
"4dp"
/>
<EditText
android:id=
"@+id/text_two_factor_auth"
style=
"@style/Authentication.EditText"
android:layout_below=
"@id/text_
headline
"
android:layout_below=
"@id/text_
sign_in_to_your_server
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/text_description"
...
...
app/src/main/res/values/colors.xml
View file @
8c74508e
...
...
@@ -25,7 +25,7 @@
<!-- Authentication colors -->
<color
name=
"colorAuthenticationOnBoardingButtonBorder"
>
#FFE1E5E8
</color>
<color
name=
"colorAuthenticationOnBoardingChevron"
>
#FFCBCED1
</color>
<color
name=
"colorAuthenticationOnBoarding
TextDescription
"
>
#FF9EA2A8
</color>
<color
name=
"colorAuthenticationOnBoarding
SecondaryText
"
>
#FF9EA2A8
</color>
<color
name=
"darkGray"
>
#FFa0a0a0
</color>
<color
name=
"actionMenuColor"
>
#FF727272
</color>
...
...
app/src/main/res/values/defaults.xml
View file @
8c74508e
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string
name=
"default_protocol"
translatable=
"false"
>
https://
</string>
<string
name=
"
default_server"
translatable=
"false"
>
open
.rocket.chat
</string>
<string
name=
"
server_hint_url"
translatable=
"false"
>
your-company
.rocket.chat
</string>
<string
name=
"community_server_url"
translatable=
"false"
>
open.rocket.chat
</string>
<string
name=
"create_server_url"
translatable=
"false"
>
cloud.rocket.chat/trial
</string>
</resources>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
8c74508e
...
...
@@ -42,8 +42,8 @@
<item
name=
"android:textStyle"
>
normal
</item>
</style>
<!--
OnBoarding
-->
<style
name=
"Authentication.
OnBoarding.
Button.Title"
parent=
"TextAppearance.AppCompat"
>
<!--
Authentication
-->
<style
name=
"Authentication.Button.Title"
parent=
"TextAppearance.AppCompat"
>
<item
name=
"android:textSize"
>
17sp
</item>
<item
name=
"android:fontFamily"
>
sans-serif
</item>
<item
name=
"android:textStyle"
>
bold
</item>
...
...
@@ -51,18 +51,26 @@
<item
name=
"android:letterSpacing"
>
0.04
</item>
</style>
<style
name=
"Authentication.
OnBoarding.Button.Title.White"
parent=
"Authentication.OnBoarding
.Button.Title"
>
<style
name=
"Authentication.
Button.Title.White"
parent=
"Authentication
.Button.Title"
>
<item
name=
"android:textColor"
>
@color/colorWhite
</item>
</style>
<style
name=
"Authentication.
OnBoarding.
Button.Description"
parent=
"TextAppearance.AppCompat"
>
<style
name=
"Authentication.Button.Description"
parent=
"TextAppearance.AppCompat"
>
<item
name=
"android:textSize"
>
15sp
</item>
<item
name=
"android:fontFamily"
>
sans-serif
</item>
<item
name=
"android:textStyle"
>
normal
</item>
<item
name=
"android:textColor"
>
@color/colorAuthenticationOnBoarding
TextDescription
</item>
<item
name=
"android:textColor"
>
@color/colorAuthenticationOnBoarding
SecondaryText
</item>
<item
name=
"android:letterSpacing"
>
0.04
</item>
</style>
<style
name=
"Authentication.Text.Hint"
parent=
"TextAppearance.AppCompat"
>
<item
name=
"android:textSize"
>
17sp
</item>
<item
name=
"android:fontFamily"
>
sans-serif
</item>
<item
name=
"android:textStyle"
>
normal
</item>
<item
name=
"android:textColorHint"
>
@color/colorAuthenticationOnBoardingSecondaryText
</item>
<item
name=
"android:lineSpacingExtra"
>
3sp
</item>
</style>
<style
name=
"Authentication.EditText"
parent=
"Widget.AppCompat.EditText"
>
<item
name=
"android:layout_width"
>
0dp
</item>
<item
name=
"android:layout_height"
>
48dp
</item>
...
...
@@ -78,13 +86,16 @@
<item
name=
"android:background"
>
@drawable/rounded_border
</item>
</style>
<style
name=
"Authentication.Button"
parent=
"Widget.AppCompat.Button"
>
<style
name=
"Authentication.Button"
parent=
"Widget.AppCompat.Button
.Borderless
"
>
<item
name=
"android:layout_width"
>
0dp
</item>
<item
name=
"android:layout_height"
>
48dp
</item>
<item
name=
"android:layout_marginStart"
>
16dp
</item>
<item
name=
"android:layout_marginEnd"
>
16dp
</item>
<item
name=
"android:textColor"
>
@color/colorWhite
</item>
<item
name=
"android:foreground"
>
?selectableItemBackground
</item>
<item
name=
"android:radius"
>
60dp
</item>
<item
name=
"android:textSize"
>
18sp
</item>
<item
name=
"android:fontFamily"
>
sans-serif-medium
</item>
<item
name=
"android:textStyle"
>
normal
</item>
<item
name=
"android:textColor"
>
@color/colorWhite
</item>
<item
name=
"android:lineSpacingExtra"
>
2sp
</item>
<item
name=
"android:textAllCaps"
>
false
</item>
<item
name=
"android:background"
>
@drawable/rounded_color_accent
</item>
</style>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment