Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Muhammad Faisal Amir edited this page Oct 25, 2020 · 1 revision
<!-- Util -->

<style name="frogoBaseAreaWrapContent">
    <item name="android:layout_width">wrap_content</item>
    <item name="android:layout_height">wrap_content</item>
</style>

<style name="frogoBaseAreaMatchParent">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">match_parent</item>
</style>

<style name="frogoBaseAreaWidthMatchParent">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">wrap_content</item>
</style>

<style name="frogoBaseAreaHeightMatchParent">
    <item name="android:layout_width">wrap_content</item>
    <item name="android:layout_height">match_parent</item>
</style>

<style name="frogoArea64dp">
    <item name="android:layout_width">@dimen/frogo_dimen_64dp</item>
    <item name="android:layout_height">@dimen/frogo_dimen_64dp</item>
</style>

<style name="frogoArea48dp">
    <item name="android:layout_width">@dimen/frogo_dimen_48dp</item>
    <item name="android:layout_height">@dimen/frogo_dimen_48dp</item>
</style>

<!-- TextView -->

<style name="frogoTvListTitle" parent="frogoBaseAreaWrapContent">
    <item name="android:maxLines">1</item>
    <item name="android:textColor">@color/frogoColorPrimaryDark</item>
    <item name="android:textStyle">bold</item>
    <item name="android:textSize">@dimen/frogo_dimen_font_16sp</item>
</style>

<style name="FrogoTvListSubTitle" parent="frogoBaseAreaWrapContent">
    <item name="android:maxLines">1</item>
    <item name="android:textSize">@dimen/frogo_dimen_font_12sp</item>
</style>

<style name="FrogoTvListDescription" parent="frogoBaseAreaWrapContent">
    <item name="android:maxLines">3</item>
    <item name="android:textColor">@color/frogoColorBlack</item>
    <item name="android:textSize">@dimen/frogo_dimen_font_11sp</item>
</style>

<!-- Layout Container -->

<style name="FrogoLayoutList8dp" parent="frogoBaseAreaWidthMatchParent">
    <item name="android:layout_marginStart">@dimen/frogo_dimen_16dp</item>
    <item name="android:layout_marginEnd">@dimen/frogo_dimen_16dp</item>
    <item name="android:layout_marginBottom">@dimen/frogo_dimen_16dp</item>
    <item name="android:elevation">@dimen/frogo_dimen_2dp</item>
    <item name="android:padding">@dimen/frogo_dimen_16dp</item>
    <item name="android:background">@drawable/frogo_bg_card_8dp</item>
</style>

<style name="FrogoLayoutListWrap8dp" parent="frogoBaseAreaWrapContent">
    <item name="android:layout_marginStart">@dimen/frogo_dimen_16dp</item>
    <item name="android:layout_marginEnd">@dimen/frogo_dimen_16dp</item>
    <item name="android:layout_marginBottom">@dimen/frogo_dimen_16dp</item>
    <item name="android:elevation">@dimen/frogo_dimen_2dp</item>
    <item name="android:padding">@dimen/frogo_dimen_16dp</item>
    <item name="android:background">@drawable/frogo_bg_card_8dp</item>
</style>

<style name="FrogoLayoutGrid8dp" parent="frogoBaseAreaWidthMatchParent">
    <item name="android:layout_marginEnd">@dimen/frogo_dimen_16dp</item>
    <item name="android:layout_marginBottom">@dimen/frogo_dimen_16dp</item>
    <item name="android:elevation">@dimen/frogo_dimen_2dp</item>
    <item name="android:padding">@dimen/frogo_dimen_16dp</item>
    <item name="android:background">@drawable/frogo_bg_card_8dp</item>
</style>

Wiki UI Kit

Clone this wiki locally