Browse Source

ui changes

master
Manoj 2 years ago
parent
commit
5ea660c7bd
20 changed files with 194 additions and 155 deletions
  1. +1
    -1
      app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/SectionsPagerAdapter1.kt
  2. +2
    -5
      app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/RegisterActivity.kt
  3. +5
    -1
      app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/ViewPagerActivity.kt
  4. +2
    -2
      app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepThreePagerFragment.kt
  5. +1
    -1
      app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepTwoPagerFragment.kt
  6. +12
    -0
      app/src/main/res/drawable/default_pager_dot.xml
  7. BIN
      app/src/main/res/drawable/pager_1.png
  8. BIN
      app/src/main/res/drawable/pager_2.png
  9. BIN
      app/src/main/res/drawable/pager_3.png
  10. +5
    -0
      app/src/main/res/drawable/round_corner_button.xml
  11. +12
    -0
      app/src/main/res/drawable/selected_pager_dot.xml
  12. +12
    -0
      app/src/main/res/drawable/svg_indicator_bg.xml
  13. +6
    -0
      app/src/main/res/drawable/tab_pager_selector.xml
  14. +32
    -59
      app/src/main/res/layout/activity_viewpager.xml
  15. +10
    -20
      app/src/main/res/layout/fragment_pager_step_one.xml
  16. +43
    -26
      app/src/main/res/layout/fragment_pager_step_three.xml
  17. +42
    -40
      app/src/main/res/layout/fragment_pager_step_two.xml
  18. +2
    -0
      app/src/main/res/values/colors.xml
  19. +1
    -0
      app/src/main/res/values/strings.xml
  20. +6
    -0
      app/src/main/res/values/themes.xml

+ 1
- 1
app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/SectionsPagerAdapter1.kt View File

@ -13,6 +13,6 @@ class SectionsPagerAdapter1(manager: FragmentManager, private val fragments: Arr
override fun getCount(): Int = fragments.size override fun getCount(): Int = fragments.size
override fun getPageTitle(position: Int): CharSequence = titles[position]
// override fun getPageTitle(position: Int): CharSequence = titles[position]
} }

+ 2
- 5
app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/RegisterActivity.kt View File

@ -6,10 +6,8 @@ import android.os.Bundle
import android.text.Editable import android.text.Editable
import android.text.TextWatcher import android.text.TextWatcher
import android.util.DisplayMetrics import android.util.DisplayMetrics
import android.util.Log
import android.view.Display import android.view.Display
import androidx.core.hardware.display.DisplayManagerCompat import androidx.core.hardware.display.DisplayManagerCompat
import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.nivesh.production.niveshfd.databinding.ActivityLoginBinding import com.nivesh.production.niveshfd.databinding.ActivityLoginBinding
import com.nivesh.production.niveshfd.databinding.ActivityRegisterBinding import com.nivesh.production.niveshfd.databinding.ActivityRegisterBinding
import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity
@ -43,7 +41,7 @@ class RegisterActivity : BaseActivity() {
startActivity(intent) startActivity(intent)
} }
binding.btnReferrer.setOnClickListener{ binding.btnReferrer.setOnClickListener{
intent = Intent(this@RegisterActivity, RegisterActivity::class.java)
intent = Intent(this@RegisterActivity, ViewPagerActivity::class.java)
startActivity(intent) startActivity(intent)
} }
binding.imgInfo.setOnClickListener { binding.imgInfo.setOnClickListener {
@ -66,8 +64,7 @@ class RegisterActivity : BaseActivity() {
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
windowManager.defaultDisplay.getMetrics(displayMetrics) windowManager.defaultDisplay.getMetrics(displayMetrics)
val height = displayMetrics.heightPixels
val width = displayMetrics.widthPixels
height = displayMetrics.heightPixels
} }
return height return height
} }

+ 5
- 1
app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/ViewPagerActivity.kt View File

@ -44,7 +44,7 @@ class ViewPagerActivity : BaseActivity() {
viewPager.adapter = sectionsPagerAdapter viewPager.adapter = sectionsPagerAdapter
viewPager.setPagingEnabled(false) viewPager.setPagingEnabled(false)
viewPager.offscreenPageLimit = 3 viewPager.offscreenPageLimit = 3
binding.tabDots.setupWithViewPager(viewPager)
viewPager.addOnPageChangeListener(object : ViewPager.OnPageChangeListener { viewPager.addOnPageChangeListener(object : ViewPager.OnPageChangeListener {
override fun onPageScrolled( override fun onPageScrolled(
position: Int, position: Int,
@ -72,6 +72,10 @@ class ViewPagerActivity : BaseActivity() {
} }
}) })
binding.tvSkip.setOnClickListener {
intent = Intent(this@ViewPagerActivity, LoginActivity::class.java)
startActivity(intent)
}
} }
// step 1 response // step 1 response


+ 2
- 2
app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepThreePagerFragment.kt View File

@ -30,8 +30,8 @@ class StepThreePagerFragment : Fragment() {
(activity as ViewPagerActivity).stepFourApi() (activity as ViewPagerActivity).stepFourApi()
} }
binding.btnNext.setOnClickListener {
(activity as ViewPagerActivity).stepThreeApi()
binding.btnBack.setOnClickListener {
(activity as ViewPagerActivity).stepTwoApi()
} }
} }

+ 1
- 1
app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepTwoPagerFragment.kt View File

@ -30,7 +30,7 @@ class StepTwoPagerFragment : Fragment() {
(activity as ViewPagerActivity).stepThreeApi() (activity as ViewPagerActivity).stepThreeApi()
} }
binding.btnBack.setOnClickListener { binding.btnBack.setOnClickListener {
(activity as ViewPagerActivity).stepTwoApi()
(activity as ViewPagerActivity).stepOneApi()
} }
} }
} }

+ 12
- 0
app/src/main/res/drawable/default_pager_dot.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape
android:innerRadius="0dp"
android:shape="ring"
android:thickness="10dp"
android:useLevel="false">
<solid android:color="@android:color/darker_gray"/>
</shape>
</item>
</layer-list>

BIN
app/src/main/res/drawable/pager_1.png View File

Before After
Width: 375  |  Height: 775  |  Size: 341 KiB

BIN
app/src/main/res/drawable/pager_2.png View File

Before After
Width: 375  |  Height: 784  |  Size: 252 KiB

BIN
app/src/main/res/drawable/pager_3.png View File

Before After
Width: 375  |  Height: 770  |  Size: 329 KiB

+ 5
- 0
app/src/main/res/drawable/round_corner_button.xml View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="50dp"/>
<solid android:color="@color/red"></solid>
</shape>

+ 12
- 0
app/src/main/res/drawable/selected_pager_dot.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape
android:innerRadius="0dp"
android:shape="ring"
android:thickness="10dp"
android:useLevel="false">
<solid android:color="@color/red"/>
</shape>
</item>
</layer-list>

+ 12
- 0
app/src/main/res/drawable/svg_indicator_bg.xml View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="75dp"
android:height="19dp"
android:viewportWidth="75"
android:viewportHeight="19">
<path
android:fillColor="#ffffff"
android:fillAlpha="0.7"
android:pathData="M 9.5 0 L 65.5 0 Q 75 0 75 9.5 L 75 9.5 Q 75 19 65.5 19 L 9.5 19 Q 0 19 0 9.5 L 0 9.5 Q 0 0 9.5 0 Z" />
</vector>

+ 6
- 0
app/src/main/res/drawable/tab_pager_selector.xml View File

@ -0,0 +1,6 @@
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/selected_pager_dot"
android:state_selected="true" />
<item android:drawable="@drawable/default_pager_dot"/>
</selector>

+ 32
- 59
app/src/main/res/layout/activity_viewpager.xml View File

@ -1,68 +1,41 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
<com.nivesh.production.niveshfd.partnerOnBoarding.adapters1.DisableAdapter1
android:id="@+id/viewPager1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@color/greyColor4"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/red"
android:orientation="horizontal"
android:visibility="gone">
<ImageView
android:id="@+id/imgBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/margin_15"
android:layout_marginEnd="@dimen/margin_15"
android:contentDescription="@string/back"
android:gravity="center"
android:padding="@dimen/margin_10"
android:src="@drawable/svg_back" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?actionBarSize"
android:padding="@dimen/margin_16"
android:text="@string/fd"
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
android:textColor="@color/white"
android:textSize="@dimen/text_size_14" />
</LinearLayout>
android:layout_height="match_parent"
android:contentDescription="@string/viewpager"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</com.google.android.material.appbar.AppBarLayout>
<RelativeLayout
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabDots"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintVertical_bias="1.0"
android:paddingBottom="@dimen/margin_20">
<com.nivesh.production.niveshfd.partnerOnBoarding.adapters1.DisableAdapter1
android:id="@+id/viewPager1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/viewpager"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</RelativeLayout>
android:background="@drawable/svg_indicator_bg"
app:tabBackground="@drawable/tab_pager_selector"
app:tabGravity="center"
app:tabMinWidth="@dimen/margin_50"
android:clipToPadding="false"
android:paddingLeft="@dimen/margin_20"
android:paddingRight="@dimen/margin_20"
app:tabIndicator="@null"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin_70"
android:layout_alignParentBottom="true" />
<TextView
android:id="@+id/tvSkip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:layout_alignParentEnd="true"
android:layout_marginTop="@dimen/margin_20"
android:layout_marginEnd="@dimen/margin_20"
android:text="@string/skip"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>

+ 10
- 20
app/src/main/res/layout/fragment_pager_step_one.xml View File

@ -6,32 +6,22 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@color/NiveshColorAppBg"
android:background="@drawable/pager_1"
tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepOnePagerFragment"> tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepOnePagerFragment">
<ImageView
android:id="@+id/logo"
app:layout_constraintBottom_toTopOf="@+id/btnNext"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="@dimen/margin_150"
android:layout_height="@dimen/margin_18"
android:layout_marginStart="@dimen/margin_20"
android:layout_marginTop="@dimen/margin_5"
android:contentDescription="@string/contentDescription"
android:src="@drawable/bajaj_logo" />
<Button
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext" android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:theme="@style/Theme.lightRed"
app:cornerRadius="@dimen/margin_15"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="@dimen/margin_10" android:layout_marginTop="@dimen/margin_10"
android:layout_marginBottom="@dimen/margin_15"
android:backgroundTint="@color/colorPrimary"
android:layout_marginStart="@dimen/margin_50"
android:layout_marginEnd="@dimen/margin_50"
android:layout_marginBottom="@dimen/margin_10"
android:textAllCaps="false"
android:textColor="@color/white"
android:text="@string/next" android:text="@string/next"
android:textColor="#FFFFFF"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"


+ 43
- 26
app/src/main/res/layout/fragment_pager_step_three.xml View File

@ -6,35 +6,52 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@color/NiveshColorAppBg"
android:background="@drawable/pager_3"
tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepThreePagerFragment"> tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepThreePagerFragment">
<ImageView
android:id="@+id/logo"
app:layout_constraintBottom_toTopOf="@+id/btnNext"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="@dimen/margin_150"
android:layout_height="@dimen/margin_18"
android:layout_marginStart="@dimen/margin_20"
android:layout_marginTop="@dimen/margin_5"
android:contentDescription="@string/contentDescription"
android:src="@drawable/bajaj_logo" />
<Button
android:id="@+id/btnNext"
android:layout_width="wrap_content"
<LinearLayout
android:id="@+id/llBottom"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="@dimen/margin_10"
android:layout_marginBottom="@dimen/margin_15"
android:backgroundTint="@color/colorPrimary"
android:text="@string/next"
android:textColor="#FFFFFF"
android:orientation="horizontal"
android:gravity="center"
android:layout_marginLeft="@dimen/margin_10"
android:layout_marginRight="@dimen/margin_10"
android:paddingBottom="@dimen/margin_10"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tool:ignore="TextContrastCheck" />
app:layout_constraintEnd_toStartOf="parent"
app:layout_constraintStart_toStartOf="parent">
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:theme="@style/Theme.lightRed"
app:cornerRadius="@dimen/margin_15"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:text="@string/back"
android:textAllCaps="false"
android:textColor="@color/white"
android:layout_marginEnd="@dimen/margin_10"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:theme="@style/Theme.lightRed"
app:cornerRadius="@dimen/margin_15"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="@dimen/margin_10"
android:text="@string/next"
android:textAllCaps="false"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

+ 42
- 40
app/src/main/res/layout/fragment_pager_step_two.xml View File

@ -6,50 +6,52 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@color/NiveshColorAppBg"
android:background="@drawable/pager_2"
tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepTwoPagerFragment"> tool:context="com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepTwoPagerFragment">
<ImageView
android:id="@+id/logo"
app:layout_constraintBottom_toTopOf="@+id/btnNext"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="@dimen/margin_150"
android:layout_height="@dimen/margin_18"
android:layout_marginStart="@dimen/margin_20"
android:layout_marginTop="@dimen/margin_5"
android:contentDescription="@string/contentDescription"
android:src="@drawable/bajaj_logo" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:layout_width="wrap_content"
<LinearLayout
android:id="@+id/llBottom"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="@dimen/margin_15"
android:layout_marginBottom="@dimen/margin_15"
android:backgroundTint="@color/blue"
android:text="@string/back"
android:textColor="@color/white"
android:textSize="@dimen/text_size_14"
android:orientation="horizontal"
android:gravity="center"
android:layout_marginLeft="@dimen/margin_10"
android:layout_marginRight="@dimen/margin_10"
android:paddingBottom="@dimen/margin_10"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent"/>
app:layout_constraintEnd_toStartOf="parent"
app:layout_constraintStart_toStartOf="parent">
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="@dimen/margin_15"
android:layout_marginTop="@dimen/margin_10"
android:backgroundTint="@color/colorPrimary"
android:text="@string/next"
android:textSize="@dimen/text_size_14"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:theme="@style/Theme.lightRed"
app:cornerRadius="@dimen/margin_15"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight=".5"
android:text="@string/back"
android:textAllCaps="false"
android:textColor="@color/white"
android:layout_marginEnd="@dimen/margin_10"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:theme="@style/Theme.lightRed"
app:cornerRadius="@dimen/margin_15"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="@dimen/margin_10"
android:text="@string/next"
android:textAllCaps="false"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

+ 2
- 0
app/src/main/res/values/colors.xml View File

@ -20,6 +20,8 @@
<color name="greyColor4">#E6EBE0</color> <color name="greyColor4">#E6EBE0</color>
<color name="greyColor5">#303030</color> <color name="greyColor5">#303030</color>
<color name="button_red">#E92629</color>
<color name="teal_200">#FF03DAC5</color> <color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color> <color name="teal_700">#FF018786</color>

+ 1
- 0
app/src/main/res/values/strings.xml View File

@ -283,6 +283,7 @@
<string name="mobileNumber">Mobile Number</string> <string name="mobileNumber">Mobile Number</string>
<string name="signUp">Sign Up</string> <string name="signUp">Sign Up</string>
<string name="continueText">CONTINUE</string> <string name="continueText">CONTINUE</string>
<string name="skip">Skip</string>
</resources> </resources>

+ 6
- 0
app/src/main/res/values/themes.xml View File

@ -43,6 +43,12 @@
<item name="android:solidColor">@color/white</item> <item name="android:solidColor">@color/white</item>
</style> </style>
<style name="Theme.lightRed" parent="Widget.MaterialComponents.Button.OutlinedButton">
<item name="colorPrimary">@color/button_red</item>
<item name="elevation">@dimen/margin_8</item>
<item name="android:solidColor">@color/white</item>
</style>
<style name="SCBSwitch1" parent="Theme.AppCompat.Light"> <style name="SCBSwitch1" parent="Theme.AppCompat.Light">
<!-- active thumb & track color (30% transparency) --> <!-- active thumb & track color (30% transparency) -->
<item name="colorControlActivated">@color/green</item> <item name="colorControlActivated">@color/green</item>


Loading…
Cancel
Save

Powered by TurnKey Linux.