Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Imre Kristoffer Eilertsen
Nebulo
Commits
13f4e3d9
Commit
13f4e3d9
authored
Aug 15, 2019
by
Daniel Wolf
Browse files
Moved the button for creating dns rules out of the scroll view
parent
6911b941
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout/fragment_querylog_detail.xml
View file @
13f4e3d9
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:paddingBottom=
"@dimen/activity_vertical_margin"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight=
"@dimen/activity_horizontal_margin"
android:paddingTop=
"@dimen/activity_vertical_margin"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/timeImage"
android:src=
"@drawable/ic_query_time"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/timeImage"
android:text=
"@string/windows_querylogging_time"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryTimeText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/queryTime"
android:layout_alignStart=
"@id/queryTimeText"
android:layout_below=
"@id/queryTimeText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/questionImage"
android:src=
"@drawable/ic_query_question"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/questionImage"
android:text=
"@string/windows_querylogging_question"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryQuestionText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/longName"
android:layout_alignStart=
"@id/queryQuestionText"
android:layout_below=
"@id/queryQuestionText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:paddingBottom=
"@dimen/activity_vertical_margin"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight=
"@dimen/activity_horizontal_margin"
android:paddingTop=
"@dimen/activity_vertical_margin"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/typeImage"
android:src=
"@drawable/ic_query_type"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/typeImage"
android:text=
"@string/windows_querylogging_type"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryTypeText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/type"
android:layout_alignStart=
"@id/queryTypeText"
android:layout_below=
"@id/queryTypeText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_above=
"@id/createDnsRule"
android:layout_height=
"match_parent"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/serverImage"
android:src=
"@drawable/ic_query_askedserver"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/serverImage"
android:text=
"@string/windows_querylogging_used_server"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryServerText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/resolvedBy"
android:layout_alignStart=
"@id/queryServerText"
android:layout_below=
"@id/queryServerText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
<LinearLayout
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/protocolImage"
android:src=
"@drawable/ic_lock_white"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/protocolImage"
android:text=
"@string/windows_querylogging_protocol"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryProtocolText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/protocol"
android:layout_alignStart=
"@id/queryProtocolText"
android:layout_below=
"@id/queryProtocolText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/timeImage"
android:src=
"@drawable/ic_query_time"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/timeImage"
android:text=
"@string/windows_querylogging_time"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryTimeText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/queryTime"
android:layout_alignStart=
"@id/queryTimeText"
android:layout_below=
"@id/queryTimeText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/questionImage"
android:src=
"@drawable/ic_query_question"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/questionImage"
android:text=
"@string/windows_querylogging_question"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryQuestionText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/longName"
android:layout_alignStart=
"@id/queryQuestionText"
android:layout_below=
"@id/queryQuestionText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/typeImage"
android:src=
"@drawable/ic_query_type"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/typeImage"
android:text=
"@string/windows_querylogging_type"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryTypeText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/type"
android:layout_alignStart=
"@id/queryTypeText"
android:layout_below=
"@id/queryTypeText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/serverImage"
android:src=
"@drawable/ic_query_askedserver"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/serverImage"
android:text=
"@string/windows_querylogging_used_server"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryServerText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/resolvedBy"
android:layout_alignStart=
"@id/queryServerText"
android:layout_below=
"@id/queryServerText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/protocolImage"
android:src=
"@drawable/ic_lock_white"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/protocolImage"
android:text=
"@string/windows_querylogging_protocol"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryProtocolText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/protocol"
android:layout_alignStart=
"@id/queryProtocolText"
android:layout_below=
"@id/queryProtocolText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_marginTop=
"24dp"
android:layout_height=
"wrap_content"
>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/latencyImage"
android:src=
"@drawable/ic_query_latency"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/latencyImage"
android:text=
"@string/windows_querylogging_latency"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryLatencyText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/latency"
android:layout_alignStart=
"@id/queryLatencyText"
android:layout_below=
"@id/queryLatencyText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
<Button
android:layout_width=
"match_parent"
android:id=
"@+id/createDnsRule"
android:background=
"@drawable/main_roundbuttons"
android:text=
"@string/windows_querylogging_create_dnsrule"
android:layout_marginTop=
"24dp"
android:layout_alignParentBottom=
"true"
style=
"@style/Base.Widget.AppCompat.Button.Borderless.Colored"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<ImageView
android:layout_width=
"24dp"
android:id=
"@+id/latencyImage"
android:src=
"@drawable/ic_query_latency"
android:tint=
"?android:attr/textColor"
android:layout_height=
"24dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:layout_toEndOf=
"@id/latencyImage"
android:text=
"@string/windows_querylogging_latency"
android:textStyle=
"italic"
android:layout_marginStart=
"8dp"
android:id=
"@+id/queryLatencyText"
android:layout_height=
"wrap_content"
/>
<TextView
android:layout_width=
"wrap_content"
android:textSize=
"18sp"
android:id=
"@+id/latency"
android:layout_alignStart=
"@id/queryLatencyText"
android:layout_below=
"@id/queryLatencyText"
android:layout_marginTop=
"8dp"
android:layout_height=
"wrap_content"
/>
</RelativeLayout>
<Button
android:layout_width=
"match_parent"
android:id=
"@+id/createDnsRule"
android:background=
"@drawable/main_roundbuttons"
android:text=
"@string/windows_querylogging_create_dnsrule"
android:layout_marginTop=
"24dp"
style=
"@style/Base.Widget.AppCompat.Button.Borderless.Colored"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</ScrollView>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment