小编Sae*_*eid的帖子

在与每个其他用户的每次对话中查询最新消息

我有一个messages用户之间的对话表。表列的名称是:

messageID | fromUser | forUser | message | submitDate | seen
Run Code Online (Sandbox Code Playgroud)

样本数据:

1  |  1 | 2 | "hi"             | "12341" | 0
2  |  2 | 1 | "hi"             | "12342" | 0
3  |  1 | 3 | "hi"             | "12343" | 0
4  |  1 | 4 | "hi 4"           | "12344" | 0
5  |  2 | 1 | "hello"          | "12345" | 0
6  |  1 | 2 | "hello how r …
Run Code Online (Sandbox Code Playgroud)

mysql sql

5
推荐指数
1
解决办法
2472
查看次数

是否可以隐藏用JavaScript编写的代码?

是否可以隐藏用java脚本(j查询)编写的代码?我写了一个程序,我使用了两个load()函数.每个人都可以看到我的网页地址是否有风险?

像这样的东西:

   load('account/module/message/index.php');
load('account/module/ads/index.php');
load('account/module/stat/index.html');
Run Code Online (Sandbox Code Playgroud)

javascript php jquery

3
推荐指数
2
解决办法
439
查看次数

android studio 如何实现透明背景?

我想设计一个与下图完全相同的布局。

当我将线性布局 alpha 设置为透明时,其中的所有图标也变得透明并且完全正常。但我想要一种只有透明背景而不是所有项目的方法!

我想要一个像这样的透明布局:

在此输入图像描述

但我的布局显示如下:

在此输入图像描述

这是我的代码:

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="100dp"
    android:background="@color/colorPrimary"
    android:orientation="vertical"
    android:alpha="0.5"
    >



    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:alpha="1"
        >

        <RelativeLayout
            android:layout_width="1dip"
            android:layout_height="fill_parent"
            android:layout_weight="0.333"
            android:padding="10dp"
            >

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@mipmap/consert"
                android:layout_gravity="center_horizontal"
                />

        </RelativeLayout>
        <RelativeLayout
            android:layout_width="1dip"
            android:layout_height="fill_parent"
            android:layout_weight="0.333"
            android:padding="10dp">

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@mipmap/consert"
                android:layout_gravity="center_horizontal"
                />

        </RelativeLayout>
        <RelativeLayout
            android:layout_width="1dip"
            android:layout_height="fill_parent"
            android:layout_weight="0.333"
            android:padding="10dp">

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@mipmap/consert"
                android:layout_gravity="center_horizontal"
                />

        </RelativeLayout>
    </LinearLayout>



    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        >

        <RelativeLayout
            android:layout_width="1dip"
            android:layout_height="fill_parent"
            android:layout_weight="0.333">

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@mipmap/consert"
                android:layout_gravity="center_horizontal"
                />

        </RelativeLayout>
        <RelativeLayout
            android:layout_width="1dip"
            android:layout_height="fill_parent" …
Run Code Online (Sandbox Code Playgroud)

layout android alpha transparent

-8
推荐指数
1
解决办法
3万
查看次数

标签 统计

alpha ×1

android ×1

javascript ×1

jquery ×1

layout ×1

mysql ×1

php ×1

sql ×1

transparent ×1