mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
cdd2559839
* Update build tools
* Update appcompat version
* Update dependencies
* feat: add paging into conversation recycler and queries to fetch data off-thread
* refactor: wip for updating paged results and bucketing messages / fetching enough to display
* fix: currently works for scrolling and possibly refreshing? need scroll to message and auto scroll down on insert (at bottom)
* fix: search and scrolling to X message works now
* build: increase version code and name
* fix: re-add refresh, remove the outdated comment
* refactor: lets see if 25 size pages increases performance 👀
* feat: add in some equals overrides for mms records to refresh if media has finished DLing
* feat: add scroll to bottom for new messages if we are at the end of the chat
* build: update build numbers
* fix: update AGP and fix compile errors for sdk version 31
* feat: add log for loki-avatar and loki-fs on upload types and responses
* feat: increase build number to match latest installed version
* feat: changing props and permission checks for call service
* fix: possible service exception when no call ID remote foreground service not terminated
* revert: google services version
* fix: re-add paging dependency
* feat: adding new last seen function and figuring out the last seen for recycler adapter
* build: update version names and codes for deploy
* refactor: undo the new adapter and query changes to use previous cursor logic. revert this commit to enable new paged adapter
* fix: use author's address in typist equality and hashcode for set inclusion
* refactor: refactor the select contacts activity
* refactor: refactor the select contacts activity
* build: update version code
* fix: hide all other bound views if deleted
* refactor: change voice message tint, upgrade build number
* fix: message detail showing up properly
* revert: realise copy public key is actually not allowed if open group participant
* fix: copy session ID, message detail activity support re-enabled
* build: update build version code
* build: remove version name
* build: update build code
* feat: google services version minimum compatible
* fix: selection for re-created objects not properly highlighting
* fix: foreground CENTER_INSIDE instead of just CENTER for scaletype
* build: update version code
* fix: don't show error if no error
* build: update version code
* fix: clear error messages if any on successful send
Co-authored-by: charles <charles@oxen.io>
115 lines
No EOL
4.3 KiB
XML
115 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:background="@color/transparent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/medium_spacing"
|
|
android:paddingTop="@dimen/very_large_spacing"
|
|
android:paddingEnd="@dimen/medium_spacing">
|
|
|
|
<TableLayout
|
|
android:id="@+id/metadata_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:shrinkColumns="1">
|
|
|
|
<TableRow
|
|
android:id="@+id/sent_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingHorizontal="@dimen/small_spacing">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/message_details_header__sent"
|
|
android:gravity="end"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/sent_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
tools:text="Jan 18, 2015, 12:29:37 AM GMT-08:00" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:id="@+id/expires_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/message_details_header__disappears"
|
|
android:gravity="end"
|
|
android:textStyle="bold"/>
|
|
|
|
<TextView
|
|
android:id="@+id/expires_in"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
tools:text="1 week"/>
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:id="@+id/error_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
android:layout_marginTop="@dimen/medium_spacing">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/message_details_header__error"
|
|
android:gravity="end"
|
|
android:textStyle="bold"/>
|
|
|
|
<TextView
|
|
android:id="@+id/error_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:textIsSelectable="true"
|
|
tools:text="Send Failed"/>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/resend_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/very_large_spacing"
|
|
android:gravity="start">
|
|
|
|
<Button
|
|
android:id="@+id/resend_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
|
android:text="@string/message_recipients_list_item__resend" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |