1. Check out our companion app, Forums for Android! Download from Google Play

ActionContentview

Discussion in 'Application Development' started by RAMESH BABU, Dec 6, 2012.

  1. RAMESH BABU

    RAMESH BABU Member
    Thread Starter
    36

    Dec 6, 2012
    21
    2
    36
    Male
    <shared.ui.actionscontentview.ActionsContentView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/actionsContentView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_above="@id/divider"
    app:actions_layout="@layout/actions"
    app:actions_spacing="@dimen/actions_spacing"
    app:content_layout="@layout/content"
    app:fade_type="actions"
    app:shadow_drawable="@drawable/shadow"
    app:shadow_width="@dimen/default_pref_shadow_width"
    />



    <resources>
    <dimen name="divider_size">.9dp</dimen>
    <dimen name="divider_large_size">5.6dp</dimen>
    <dimen name="actions_spacing">150dp</dimen>
    <dimen name="actions_new">0dp</dimen>
    </resources>



    In Marked values are used in actioncontentview.But I need to change dimen action_spacing values pro-grammatically in activity.I tried my best in level.But i cant to change action_spacing values.So Please help me for solve this issue.

    Advance Thanks.
     

    Advertisement

  2. RAMESH BABU

    RAMESH BABU Member
    Thread Starter
    36

    Dec 6, 2012
    21
    2
    36
    Male
    Hi EveryOne@@@

    Need to know how to change programmatically dimen action_spacing values.

    <

    resources>
    <dimenname="divider_size">.9dp</dimen>
    <dimenname="divider_large_size">5.6dp</dimen>
    <dimenname="actions_spacing">150dp</dimen>
    <dimenname="actions_new">0dp</dimen>

    </
    resources>



    Andvance Thanks.
     
  3. EarlyMon

    EarlyMon The PearlyMon
    5,218

    Jun 10, 2010
    57,631
    70,396
    5,218
    New Mexico, USA
    Hi Ramesh - I put your questions here in development as we discussed. :)
     
    RAMESH BABU likes this.
  4. RAMESH BABU

    RAMESH BABU Member
    Thread Starter
    36

    Dec 6, 2012
    21
    2
    36
    Male
    Thank you Sir...
     
  5. RAMESH BABU

    RAMESH BABU Member
    Thread Starter
    36

    Dec 6, 2012
    21
    2
    36
    Male
    I fix this issue my self..Thank you@@@
     
    EarlyMon likes this.

Share This Page

Loading...