Android ImageView Circle Placement In RelativeLayout

How to above sequence in RelativeLayout

Answers


You can use this library to create circular layout: https://github.com/dmitry-zaitsev/CircleLayout

Simple code (Using the library) :

 <ru.biovamp.widget.CircleLayout
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@android:color/white"
  app:angleOffset="90.0"
  app:layoutMode="pie"
  app:divider="#112233"
  app:innerRadius="40dp"
  app:innerCircle="#119922"
  app:dividerWidth="10dp"
  >

 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="one"
      android:id="@+id/w"

  />
 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="two"
      android:id="@+id/w1"
  />
 <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="three"
      android:id="@+id/w2"
  />
    <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="four"
      android:id="@+id/w3"
  />
       <TextView android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="five"
      android:id="@+id/w4"
  />

 </ru.biovamp.widget.CircleLayout>

NB: you can any Views type (txtviews, buttons, imageviews..)

i was using Samsung tuto but link dead, here another tuto inspired from samsung.


Need Your Help

listen to 'CTRL+N' with javascript

javascript keydown preventdefault keyup

I am trying to bind the 'CTRL+N' key combination, like this: