Skip to content
Snippets Groups Projects
Verified Commit 6437b43b authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Make user, channel and core info selectable

parent ccd3583d
Branches
Tags
No related merge requests found
...@@ -34,11 +34,13 @@ ...@@ -34,11 +34,13 @@
<TextView <TextView
android:id="@+id/name" android:id="@+id/name"
style="@style/Widget.Info.Header.Name" style="@style/Widget.Info.Header.Name"
android:textIsSelectable="true"
tools:text="#quassel" /> tools:text="#quassel" />
<TextView <TextView
android:id="@+id/topic" android:id="@+id/topic"
style="@style/Widget.Info.Header.Description" style="@style/Widget.Info.Header.Description"
android:textIsSelectable="true"
tools:text="Quassel IRC - https://quassel-irc.org || Latest: 0.12.4 || Mailing Lists: https://lists.quassel-irc.org || Tracker: https://bugs.quassel-irc.org || Activity RSS: #quassel-announce || German: #quassel.de || Quassel on Android: #quasseldroid; on iOS: #woboquassel || Server migration complete; new IPs may still need some time to propagate" /> tools:text="Quassel IRC - https://quassel-irc.org || Latest: 0.12.4 || Mailing Lists: https://lists.quassel-irc.org || Tracker: https://bugs.quassel-irc.org || Activity RSS: #quassel-announce || German: #quassel.de || Quassel on Android: #quasseldroid; on iOS: #woboquassel || Server migration complete; new IPs may still need some time to propagate" />
</LinearLayout> </LinearLayout>
...@@ -54,10 +56,10 @@ ...@@ -54,10 +56,10 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingEnd="?android:attr/listPreferredItemPaddingRight" android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
android:paddingRight="?android:attr/listPreferredItemPaddingRight" android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:paddingStart="?android:attr/listPreferredItemPaddingLeft"> android:paddingRight="?android:attr/listPreferredItemPaddingRight">
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/action_edit_topic" android:id="@+id/action_edit_topic"
......
...@@ -39,11 +39,13 @@ ...@@ -39,11 +39,13 @@
<TextView <TextView
android:id="@+id/version" android:id="@+id/version"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="v0.13-pre (0.12.0+617 git-f4c93cad)" /> tools:text="v0.13-pre (0.12.0+617 git-f4c93cad)" />
<TextView <TextView
android:id="@+id/version_date" android:id="@+id/version_date"
style="@style/Widget.Info.Item.Description" style="@style/Widget.Info.Item.Description"
android:textIsSelectable="true"
tools:text="June 8, 2018" /> tools:text="June 8, 2018" />
<Button <Button
...@@ -99,8 +101,8 @@ ...@@ -99,8 +101,8 @@
android:id="@+id/secure_icon" android:id="@+id/secure_icon"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_marginLeft="16dp"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
app:srcCompat="@drawable/ic_lock" /> app:srcCompat="@drawable/ic_lock" />
</LinearLayout> </LinearLayout>
......
...@@ -64,11 +64,13 @@ ...@@ -64,11 +64,13 @@
<TextView <TextView
android:id="@+id/nick" android:id="@+id/nick"
style="@style/Widget.Info.Header.Name" style="@style/Widget.Info.Header.Name"
android:textIsSelectable="true"
tools:text="justJanne" /> tools:text="justJanne" />
<TextView <TextView
android:id="@+id/real_name" android:id="@+id/real_name"
style="@style/Widget.Info.Header.Description" style="@style/Widget.Info.Header.Description"
android:textIsSelectable="true"
tools:text="Janne Koschinski https://kuschku.de/" /> tools:text="Janne Koschinski https://kuschku.de/" />
</LinearLayout> </LinearLayout>
...@@ -84,10 +86,10 @@ ...@@ -84,10 +86,10 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingEnd="?android:attr/listPreferredItemPaddingRight" android:paddingStart="?android:attr/listPreferredItemPaddingLeft"
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
android:paddingRight="?android:attr/listPreferredItemPaddingRight" android:paddingEnd="?android:attr/listPreferredItemPaddingRight"
android:paddingStart="?android:attr/listPreferredItemPaddingLeft"> android:paddingRight="?android:attr/listPreferredItemPaddingRight">
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/action_query" android:id="@+id/action_query"
...@@ -143,6 +145,7 @@ ...@@ -143,6 +145,7 @@
<TextView <TextView
android:id="@+id/away_message" android:id="@+id/away_message"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="~justJanne" /> tools:text="~justJanne" />
<TextView <TextView
...@@ -169,6 +172,7 @@ ...@@ -169,6 +172,7 @@
<TextView <TextView
android:id="@+id/account" android:id="@+id/account"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="kuschku" /> tools:text="kuschku" />
<TextView <TextView
...@@ -185,6 +189,7 @@ ...@@ -185,6 +189,7 @@
<TextView <TextView
android:id="@+id/ident" android:id="@+id/ident"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="~justJanne" /> tools:text="~justJanne" />
<TextView <TextView
...@@ -201,6 +206,7 @@ ...@@ -201,6 +206,7 @@
<TextView <TextView
android:id="@+id/host" android:id="@+id/host"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="lithium.kuschku.de" /> tools:text="lithium.kuschku.de" />
<TextView <TextView
...@@ -217,6 +223,7 @@ ...@@ -217,6 +223,7 @@
<TextView <TextView
android:id="@+id/server" android:id="@+id/server"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="irc.freenode.org" /> tools:text="irc.freenode.org" />
<TextView <TextView
......
...@@ -14,21 +14,25 @@ ...@@ -14,21 +14,25 @@
<TextView <TextView
android:id="@+id/ip" android:id="@+id/ip"
style="@style/Widget.Info.Item.Content" style="@style/Widget.Info.Item.Content"
android:textIsSelectable="true"
tools:text="51.15.1.223" /> tools:text="51.15.1.223" />
<TextView <TextView
android:id="@+id/version" android:id="@+id/version"
style="@style/Widget.Info.Item.Description" style="@style/Widget.Info.Item.Description"
android:textIsSelectable="true"
tools:text="Quasseldroid v0.4.0-218-g0e6e562c" /> tools:text="Quasseldroid v0.4.0-218-g0e6e562c" />
<TextView <TextView
android:id="@+id/uptime" android:id="@+id/uptime"
style="@style/Widget.Info.Item.Description" style="@style/Widget.Info.Item.Description"
android:textIsSelectable="true"
tools:text="Connected since 08.06.18 01:39" /> tools:text="Connected since 08.06.18 01:39" />
<TextView <TextView
android:id="@+id/location" android:id="@+id/location"
style="@style/Widget.Info.Item.Description" style="@style/Widget.Info.Item.Description"
android:textIsSelectable="true"
tools:text="Kiel, Germany" /> tools:text="Kiel, Germany" />
<Button <Button
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_gravity="top" android:layout_gravity="top"
android:layout_marginLeft="16dp"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
app:srcCompat="@drawable/ic_lock" /> app:srcCompat="@drawable/ic_lock" />
</LinearLayout> </LinearLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment