5
Jak ustawić programowo margines procentowy dla widoku obrazu.Ustaw margines proporcjonalnego marginesu obliczeniowego programowo
<android.support.percent.PercentRelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/rating_thumb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/thumb" />
</android.support.percent.PercentRelativeLayout>
setLayoutParams o nazwie requestLayout() – user949884
Zaktualizowałem. – ayz4sci