TagView icon indicating copy to clipboard operation
TagView copied to clipboard

tag view -single line -hoizontal scroll view

Open sharathyadhav1 opened this issue 10 years ago • 8 comments

I mean i need tagview ui inside hoizontal scroll view so the labels doesnt go to next line and scrolls inside horizontal scroll view

and other thing is i should be able to set the orientation

e183f768-9699-11e5-8d8b-b9456a222d08

sharathyadhav1 avatar Dec 20 '15 05:12 sharathyadhav1

You can change tagview_item.xml. You should wrap the textviews with a scroolview and set the orientation anyway you like.

Cutta avatar Dec 21 '15 07:12 Cutta

no its not working like that

sharathyadhav1 avatar Dec 21 '15 09:12 sharathyadhav1

i also tried wrapping the entire

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">

<EditText
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/editText"
    android:layout_alignRight="@+id/tags_laoyut"
    android:layout_alignEnd="@+id/tags_laoyut"
    android:layout_alignLeft="@+id/tags_laoyut"
    android:layout_alignStart="@+id/tags_laoyut" />

<HorizontalScrollView
    android:id="@+id/tags_laoyut"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:layout_marginLeft="6dp"
    android:background="@android:color/white"
    android:visibility="visible"
    android:layout_below="@+id/editText">

    <cuneyt.example.com.tagview.Tag.TagView
        android:id="@+id/tag_group"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="10dp" />

</HorizontalScrollView>
to look like above but only one value comes

sharathyadhav1 avatar Dec 21 '15 09:12 sharathyadhav1

@Cutta @sharathyadhav1 I need it too. did you solve this problem?

motis10 avatar Nov 24 '16 18:11 motis10

@motis10 You got any solution for this ? I also want this thing in horizontal scroll view.

WasimMemon avatar Feb 09 '17 10:02 WasimMemon

I didn't. But i made workaround for it. Ill share it later

motis10 avatar Feb 09 '17 11:02 motis10

@motis10 @Cutta any workaround? appreciate it.

nicholas-jomo avatar Apr 25 '17 18:04 nicholas-jomo

Sorry, i checked and i have no workaround for it.

motis10 avatar Apr 25 '17 18:04 motis10