mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Renaming package to option
This commit is contained in:
parent
b11f7f20e1
commit
d36409d475
@ -32,6 +32,7 @@ import im.vector.app.core.platform.VectorBaseFragment
|
|||||||
import im.vector.app.databinding.FragmentLocationSharingBinding
|
import im.vector.app.databinding.FragmentLocationSharingBinding
|
||||||
import im.vector.app.features.home.AvatarRenderer
|
import im.vector.app.features.home.AvatarRenderer
|
||||||
import im.vector.app.features.home.room.detail.timeline.helper.MatrixItemColorProvider
|
import im.vector.app.features.home.room.detail.timeline.helper.MatrixItemColorProvider
|
||||||
|
import im.vector.app.features.location.option.LocationSharingOption
|
||||||
import org.matrix.android.sdk.api.util.MatrixItem
|
import org.matrix.android.sdk.api.util.MatrixItem
|
||||||
import java.lang.ref.WeakReference
|
import java.lang.ref.WeakReference
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.app.features.location
|
package im.vector.app.features.location.option
|
||||||
|
|
||||||
enum class LocationSharingOption {
|
enum class LocationSharingOption {
|
||||||
USER_CURRENT, // current user's location
|
USER_CURRENT, // current user's location
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.app.features.location.view
|
package im.vector.app.features.location.option
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.util.AttributeSet
|
import android.util.AttributeSet
|
||||||
@ -23,7 +23,6 @@ import android.view.View
|
|||||||
import androidx.constraintlayout.widget.ConstraintLayout
|
import androidx.constraintlayout.widget.ConstraintLayout
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
import im.vector.app.databinding.ViewLocationSharingOptionPickerBinding
|
import im.vector.app.databinding.ViewLocationSharingOptionPickerBinding
|
||||||
import im.vector.app.features.location.LocationSharingOption
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom view to display the location sharing option picker.
|
* Custom view to display the location sharing option picker.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.app.features.location.view
|
package im.vector.app.features.location.option
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.TypedArray
|
import android.content.res.TypedArray
|
@ -14,7 +14,7 @@
|
|||||||
app:mapbox_renderTextureMode="true"
|
app:mapbox_renderTextureMode="true"
|
||||||
tools:background="#4F00" />
|
tools:background="#4F00" />
|
||||||
|
|
||||||
<im.vector.app.features.location.view.LocationSharingOptionPickerView
|
<im.vector.app.features.location.option.LocationSharingOptionPickerView
|
||||||
android:id="@+id/shareLocationOptionsPicker"
|
android:id="@+id/shareLocationOptionsPicker"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
||||||
|
|
||||||
<im.vector.app.features.location.view.LocationSharingOptionView
|
<im.vector.app.features.location.option.LocationSharingOptionView
|
||||||
android:id="@+id/locationSharingOptionPinned"
|
android:id="@+id/locationSharingOptionPinned"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -32,7 +32,7 @@
|
|||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionPinned" />
|
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionPinned" />
|
||||||
|
|
||||||
<im.vector.app.features.location.view.LocationSharingOptionView
|
<im.vector.app.features.location.option.LocationSharingOptionView
|
||||||
android:id="@+id/locationSharingOptionUserCurrent"
|
android:id="@+id/locationSharingOptionUserCurrent"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -57,7 +57,7 @@
|
|||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionUserCurrent" />
|
app:layout_constraintTop_toBottomOf="@id/locationSharingOptionUserCurrent" />
|
||||||
|
|
||||||
<im.vector.app.features.location.view.LocationSharingOptionView
|
<im.vector.app.features.location.option.LocationSharingOptionView
|
||||||
android:id="@+id/locationSharingOptionUserLive"
|
android:id="@+id/locationSharingOptionUserLive"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user