• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps ActionContentview

RAMESH BABU

Newbie
Dec 6, 2012
21
2
<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.
 
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.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones