ToggleButtonLayout
ToggleButtonLayout copied to clipboard
How to change the size of toggle?
![Screenshot at Dec 14 18-27-28](https://user-images.githubusercontent.com/4224210/70850813-851b1780-1e9f-11ea-837f-78295676d9d8.png)
Hey there, can you paste in here what your current XML looks like? Thanks!
current app:customLayout in the custom layout set the font size.
custom layout example:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:padding="8dp">
<TextView
android:textSize="@dimen/_12sp"
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:textColor="@color/text_primary_to_white"
tools:text="something" />